Sun Feb 22 23:38:46 2009 UTC ()
Fix for suhosin MESSAGE


(adrianp)
diff -r1.31 -r1.32 pkgsrc/lang/php5/Makefile.php

cvs diff -r1.31 -r1.32 pkgsrc/lang/php5/Attic/Makefile.php (expand / switch to unified diff)

--- pkgsrc/lang/php5/Attic/Makefile.php 2009/02/17 23:18:55 1.31
+++ pkgsrc/lang/php5/Attic/Makefile.php 2009/02/22 23:38:46 1.32
@@ -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
6DISTINFO_FILE= ${.CURDIR}/../../lang/php5/distinfo 6DISTINFO_FILE= ${.CURDIR}/../../lang/php5/distinfo
7PATCHDIR= ${.CURDIR}/../../lang/php5/patches 7PATCHDIR= ${.CURDIR}/../../lang/php5/patches
8 8
9USE_LIBTOOL= YES 9USE_LIBTOOL= YES
10USE_LANGUAGES= c c++ 10USE_LANGUAGES= c c++
11GNU_CONFIGURE= YES 11GNU_CONFIGURE= YES
12BUILD_DEFS+= VARBASE 12BUILD_DEFS+= VARBASE
13PLIST_VARS+= suhosin 13PLIST_VARS+= suhosin
14 14
@@ -49,28 +49,28 @@ SUBST_CLASSES+= ini @@ -49,28 +49,28 @@ SUBST_CLASSES+= ini
49SUBST_STAGE.ini= post-patch 49SUBST_STAGE.ini= post-patch
50SUBST_FILES.ini= php.ini-dist 50SUBST_FILES.ini= php.ini-dist
51SUBST_FILES.ini+= php.ini-recommended 51SUBST_FILES.ini+= php.ini-recommended
52SUBST_SED.ini= -e "s|\;include_path = \".:/php/includes\"|include_path = \".:${PREFIX}/lib/php\"|g" 52SUBST_SED.ini= -e "s|\;include_path = \".:/php/includes\"|include_path = \".:${PREFIX}/lib/php\"|g"
53SUBST_MESSAGE.ini= Fixing default ini files. 53SUBST_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)
58PATCH_SITES= http://download.suhosin.org/ 58PATCH_SITES= http://download.suhosin.org/
59PATCHFILES+= suhosin-patch-5.2.8-0.9.6.3.patch.gz 59PATCHFILES+= suhosin-patch-5.2.8-0.9.6.3.patch.gz
60PATCH_DIST_STRIP= -p1 60PATCH_DIST_STRIP= -p1
61PLIST.suhosin= yes 61PLIST.suhosin= yes
62MESSAGE_SRC= ${PKGDIR}/MESSAGE 62MESSAGE_SRC= ${.CURDIR}/../../lang/php5/MESSAGE
63MESSAGE_SRC+= ${PKGDIR}/MESSAGE.suhosin 63MESSAGE_SRC+= ${.CURDIR}/../../lang/php5/MESSAGE.suhosin
64.endif 64.endif
65 65
66.if !empty(PKG_OPTIONS:Minet6) 66.if !empty(PKG_OPTIONS:Minet6)
67CONFIGURE_ARGS+= --enable-ipv6 67CONFIGURE_ARGS+= --enable-ipv6
68.else 68.else
69CONFIGURE_ARGS+= --disable-ipv6 69CONFIGURE_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"
75CONFIGURE_ARGS+= --with-openssl=yes 75CONFIGURE_ARGS+= --with-openssl=yes
76LIBS.SunOS+= -lcrypto 76LIBS.SunOS+= -lcrypto