summaryrefslogtreecommitdiff
path: root/lang/php5
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2005-10-16 12:06:05 +0000
committerjdolecek <jdolecek>2005-10-16 12:06:05 +0000
commite00572227e22047c587240c9b6f96583be589912 (patch)
treef84d957d6a46623171326d08405447a607ff6d91 /lang/php5
parent9a39fd1872c1ad97e6881123683eab533865e608 (diff)
downloadpkgsrc-e00572227e22047c587240c9b6f96583be589912.tar.gz
use PHP-provided regex on Solaris, PHP doesn't build with system regex
there PR: 31047 by Gilles Dauphin
Diffstat (limited to 'lang/php5')
-rw-r--r--lang/php5/Makefile.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/php5/Makefile.php b/lang/php5/Makefile.php
index 2419122d358..04c431d0be9 100644
--- a/lang/php5/Makefile.php
+++ b/lang/php5/Makefile.php
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.9 2005/10/08 21:04:36 jdolecek Exp $
+# $NetBSD: Makefile.php,v 1.10 2005/10/16 12:06:05 jdolecek Exp $
#
.include "../../lang/php5/Makefile.common"
@@ -18,7 +18,13 @@ PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS+= --with-config-file-path=${PKG_SYSCONFDIR}
+
+# 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+= --without-mysql
CONFIGURE_ARGS+= --without-sqlite