openbsd-ports/lang/php/5.2/Makefile
espie cbca6afbb8 allow for simultaneous install of 5.2 and 5.3 extensions.
This solves some nasty 5.0 -> current update problems.

Up to 5.0, lots of php-using packages were depending on php-mysql-5.2.
So the dependencies would update to php-mysql-5.2 from current.
BUT the php-using packages are now depending on 5.3 -> internal conflict !

With this change, things work again. After the update, you end up with
php-mysql-5.2 AND php-mysql-5.3, you can then try pkg_delete -a to weed
out "unneeded" php*-5.2

okay sthen@, ajacoutot@
2012-01-29 14:53:20 +00:00

48 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2012/01/29 14:53:20 espie Exp $
# doesn't set USE_LIBTOOL but use the bundled one because it needs some
# specific options we don't have.
PV= 5.2
V= 5.2.17
SUHOSIN_PHPV= 5.2.16
SUHOSIN_P_V= 0.9.7
REVISION= 5
REVISION-main= 8
REVISION-fastcgi= 9
REVISION-snmp= 6
REVISION-gd= 6
INI_TEMPLATES= dist recommended
# dbase
MULTI_PACKAGES+= -dbase
COMMENT-dbase= dBase database access extensions for php5
CONFIGURE_ARGS+= --enable-dbase=shared
LIB_DEPENDS-dbase=
WANTLIB-dbase=
# mhash
MULTI_PACKAGES+= -mhash
COMMENT-mhash= mhash extensions for php5
CONFIGURE_ARGS+= --with-mhash=shared,${LOCALBASE}
LIB_DEPENDS-mhash= security/mhash
WANTLIB-mhash= mhash>=2
# ncurses
MULTI_PACKAGES+= -ncurses
COMMENT-ncurses= ncurses extensions for php5
CONFIGURE_ARGS+= --with-ncurses=shared,${LOCALBASE}
LIB_DEPENDS-ncurses=
WANTLIB-ncurses= ncurses panel
# sybase-ct
MULTI_PACKAGES+= -sybase_ct
COMMENT-sybase_ct= sybase database access extensions for php5
CONFIGURE_ARGS+= --with-sybase-ct=shared,${LOCALBASE}
LIB_DEPENDS-sybase_ct= databases/freetds
WANTLIB-sybase_ct= ct
.include <bsd.port.mk>