| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile.php,v 1.31 2009/02/17 23:18:55 adrianp Exp $ | | 1 | # $NetBSD: Makefile.php,v 1.32 2009/02/22 23:38:46 adrianp Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | .include "../../lang/php5/Makefile.common" | | 4 | .include "../../lang/php5/Makefile.common" |
5 | | | 5 | |
6 | DISTINFO_FILE= ${.CURDIR}/../../lang/php5/distinfo | | 6 | DISTINFO_FILE= ${.CURDIR}/../../lang/php5/distinfo |
7 | PATCHDIR= ${.CURDIR}/../../lang/php5/patches | | 7 | PATCHDIR= ${.CURDIR}/../../lang/php5/patches |
8 | | | 8 | |
9 | USE_LIBTOOL= YES | | 9 | USE_LIBTOOL= YES |
10 | USE_LANGUAGES= c c++ | | 10 | USE_LANGUAGES= c c++ |
11 | GNU_CONFIGURE= YES | | 11 | GNU_CONFIGURE= YES |
12 | BUILD_DEFS+= VARBASE | | 12 | BUILD_DEFS+= VARBASE |
13 | PLIST_VARS+= suhosin | | 13 | PLIST_VARS+= suhosin |
14 | | | 14 | |
| @@ -49,28 +49,28 @@ SUBST_CLASSES+= ini | | | @@ -49,28 +49,28 @@ SUBST_CLASSES+= ini |
49 | SUBST_STAGE.ini= post-patch | | 49 | SUBST_STAGE.ini= post-patch |
50 | SUBST_FILES.ini= php.ini-dist | | 50 | SUBST_FILES.ini= php.ini-dist |
51 | SUBST_FILES.ini+= php.ini-recommended | | 51 | SUBST_FILES.ini+= php.ini-recommended |
52 | SUBST_SED.ini= -e "s|\;include_path = \".:/php/includes\"|include_path = \".:${PREFIX}/lib/php\"|g" | | 52 | SUBST_SED.ini= -e "s|\;include_path = \".:/php/includes\"|include_path = \".:${PREFIX}/lib/php\"|g" |
53 | SUBST_MESSAGE.ini= Fixing default ini files. | | 53 | SUBST_MESSAGE.ini= Fixing default ini files. |
54 | | | 54 | |
55 | .include "../../mk/bsd.options.mk" | | 55 | .include "../../mk/bsd.options.mk" |
56 | | | 56 | |
57 | .if !empty(PKG_OPTIONS:Msuhosin) | | 57 | .if !empty(PKG_OPTIONS:Msuhosin) |
58 | PATCH_SITES= http://download.suhosin.org/ | | 58 | PATCH_SITES= http://download.suhosin.org/ |
59 | PATCHFILES+= suhosin-patch-5.2.8-0.9.6.3.patch.gz | | 59 | PATCHFILES+= suhosin-patch-5.2.8-0.9.6.3.patch.gz |
60 | PATCH_DIST_STRIP= -p1 | | 60 | PATCH_DIST_STRIP= -p1 |
61 | PLIST.suhosin= yes | | 61 | PLIST.suhosin= yes |
62 | MESSAGE_SRC= ${PKGDIR}/MESSAGE | | 62 | MESSAGE_SRC= ${.CURDIR}/../../lang/php5/MESSAGE |
63 | MESSAGE_SRC+= ${PKGDIR}/MESSAGE.suhosin | | 63 | MESSAGE_SRC+= ${.CURDIR}/../../lang/php5/MESSAGE.suhosin |
64 | .endif | | 64 | .endif |
65 | | | 65 | |
66 | .if !empty(PKG_OPTIONS:Minet6) | | 66 | .if !empty(PKG_OPTIONS:Minet6) |
67 | CONFIGURE_ARGS+= --enable-ipv6 | | 67 | CONFIGURE_ARGS+= --enable-ipv6 |
68 | .else | | 68 | .else |
69 | CONFIGURE_ARGS+= --disable-ipv6 | | 69 | CONFIGURE_ARGS+= --disable-ipv6 |
70 | .endif | | 70 | .endif |
71 | | | 71 | |
72 | .if !empty(PKG_OPTIONS:Mssl) | | 72 | .if !empty(PKG_OPTIONS:Mssl) |
73 | . include "../../security/openssl/buildlink3.mk" | | 73 | . include "../../security/openssl/buildlink3.mk" |
74 | . if ${OPSYS} == "SunOS" | | 74 | . if ${OPSYS} == "SunOS" |
75 | CONFIGURE_ARGS+= --with-openssl=yes | | 75 | CONFIGURE_ARGS+= --with-openssl=yes |
76 | LIBS.SunOS+= -lcrypto | | 76 | LIBS.SunOS+= -lcrypto |