| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.php,v 1.8 2011/08/23 22:22:27 taca Exp $ | | 1 | # $NetBSD: Makefile.php,v 1.9 2011/10/20 12:38:24 taca Exp $ |
2 | # used by lang/php53/Makefile | | 2 | # used by lang/php53/Makefile |
3 | # used by www/ap-php/Makefile | | 3 | # used by www/ap-php/Makefile |
4 | | | 4 | |
5 | .include "../../lang/php53/Makefile.common" | | 5 | .include "../../lang/php53/Makefile.common" |
6 | | | 6 | |
7 | DISTINFO_FILE= ${.CURDIR}/../../lang/php53/distinfo | | 7 | DISTINFO_FILE= ${.CURDIR}/../../lang/php53/distinfo |
8 | PATCHDIR= ${.CURDIR}/../../lang/php53/patches | | 8 | PATCHDIR= ${.CURDIR}/../../lang/php53/patches |
9 | | | 9 | |
10 | USE_LIBTOOL= YES | | 10 | USE_LIBTOOL= YES |
11 | USE_LANGUAGES= c c++ | | 11 | USE_LANGUAGES= c c++ |
12 | GNU_CONFIGURE= YES | | 12 | GNU_CONFIGURE= YES |
13 | BUILD_DEFS+= VARBASE | | 13 | BUILD_DEFS+= VARBASE |
14 | PLIST_VARS+= suhosin | | 14 | PLIST_VARS+= suhosin |
| @@ -29,26 +29,27 @@ CONFIGURE_ARGS+= --with-regex=system | | | @@ -29,26 +29,27 @@ CONFIGURE_ARGS+= --with-regex=system |
29 | | | 29 | |
30 | CONFIGURE_ARGS+= --without-mysql | | 30 | CONFIGURE_ARGS+= --without-mysql |
31 | CONFIGURE_ARGS+= --without-sqlite | | 31 | CONFIGURE_ARGS+= --without-sqlite |
32 | #CONFIGURE_ARGS+= --without-sqlite3 | | 32 | #CONFIGURE_ARGS+= --without-sqlite3 |
33 | CONFIGURE_ARGS+= --without-iconv | | 33 | CONFIGURE_ARGS+= --without-iconv |
34 | CONFIGURE_ARGS+= --without-pear | | 34 | CONFIGURE_ARGS+= --without-pear |
35 | #CONFIGURE_ARGS+= --without-intl | | 35 | #CONFIGURE_ARGS+= --without-intl |
36 | | | 36 | |
37 | CONFIGURE_ARGS+= --disable-posix | | 37 | CONFIGURE_ARGS+= --disable-posix |
38 | CONFIGURE_ARGS+= --disable-dom | | 38 | CONFIGURE_ARGS+= --disable-dom |
39 | CONFIGURE_ARGS+= --disable-pdo | | 39 | CONFIGURE_ARGS+= --disable-pdo |
40 | CONFIGURE_ARGS+= --disable-json | | 40 | CONFIGURE_ARGS+= --disable-json |
41 | | | 41 | |
| | | 42 | #CONFIGURE_ARGS+= --enable-fpm |
42 | CONFIGURE_ARGS+= --enable-xml | | 43 | CONFIGURE_ARGS+= --enable-xml |
43 | CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX} | | 44 | CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX} |
44 | .include "../../textproc/libxml2/buildlink3.mk" | | 45 | .include "../../textproc/libxml2/buildlink3.mk" |
45 | | | 46 | |
46 | # Note: This expression is the same as ${PKGBASE}, but the latter is | | 47 | # Note: This expression is the same as ${PKGBASE}, but the latter is |
47 | # not defined yet, so we cannot use it here. | | 48 | # not defined yet, so we cannot use it here. |
48 | PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} | | 49 | PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} |
49 | PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts suhosin | | 50 | PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts suhosin |
50 | PKG_SUGGESTED_OPTIONS+= inet6 ssl | | 51 | PKG_SUGGESTED_OPTIONS+= inet6 ssl |
51 | | | 52 | |
52 | #SUBST_CLASSES+= ini | | 53 | #SUBST_CLASSES+= ini |
53 | #SUBST_STAGE.ini= post-patch | | 54 | #SUBST_STAGE.ini= post-patch |
54 | #SUBST_FILES.ini= php.ini-development | | 55 | #SUBST_FILES.ini= php.ini-development |