diff options
author | jdolecek <jdolecek> | 2005-10-16 12:06:05 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2005-10-16 12:06:05 +0000 |
commit | e144af082f5c9dd04e9e5692c213474dec09131d (patch) | |
tree | f84d957d6a46623171326d08405447a607ff6d91 /www/php4 | |
parent | bb9f862b405868438e48779fe6c44e3fa1710de6 (diff) | |
download | pkgsrc-e144af082f5c9dd04e9e5692c213474dec09131d.tar.gz |
use PHP-provided regex on Solaris, PHP doesn't build with system regex
there
PR: 31047 by Gilles Dauphin
Diffstat (limited to 'www/php4')
-rw-r--r-- | www/php4/Makefile.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/www/php4/Makefile.php b/www/php4/Makefile.php index 6cb642abd6e..2abe76155e6 100644 --- a/www/php4/Makefile.php +++ b/www/php4/Makefile.php @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.php,v 1.26 2005/10/08 21:12:53 jdolecek Exp $ +# $NetBSD: Makefile.php,v 1.27 2005/10/16 12:06:05 jdolecek Exp $ .include "../../www/php4/Makefile.common" @@ -18,7 +18,15 @@ CONFIGURE_ARGS+= --disable-posix CONFIGURE_ARGS+= --with-config-file-path=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --with-exec-dir=${PREFIX}/libexec/php4 + +.include "../../mk/bsd.prefs.mk" + +# The Solaris system regex structures miss re_magic used by PHP build +.if ${OPSYS} != "SunOS" CONFIGURE_ARGS+= --with-regex=system +.else +CONFIGURE_ARGS+= --with-regex=php +.endif CONFIGURE_ARGS+= --enable-memory-limit CONFIGURE_ARGS+= --enable-track-vars |