openbsd-ports/lang/php/5.2/Makefile
sthen 87bb29524a For the ap2 flavour, strip the unwanted subpackages from MULTI_PACKAGES rather
than BUILD_PACKAGES (which is for pseudo-flavours). Reported by naddy.
2012-11-30 12:56:02 +00:00

45 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.33 2012/11/30 12:56:02 sthen 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= 13
REVISION-imap= 14
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= c pthread
# mhash
MULTI_PACKAGES+= -mhash
COMMENT-mhash= mhash extensions for php5
CONFIGURE_ARGS+= --with-mhash=shared,${LOCALBASE}
LIB_DEPENDS-mhash= security/mhash
WANTLIB-mhash= c mhash>=2 pthread
# ncurses
MULTI_PACKAGES+= -ncurses
COMMENT-ncurses= ncurses extensions for php5
CONFIGURE_ARGS+= --with-ncurses=shared,${LOCALBASE}
LIB_DEPENDS-ncurses=
WANTLIB-ncurses= c ncurses panel pthread
# 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= c ct pthread
.include <bsd.port.mk>