summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/php5/Makefile.php4
-rw-r--r--www/php4/Makefile.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/php5/Makefile.php b/lang/php5/Makefile.php
index 3ce1fccaf89..d16583e9b0a 100644
--- a/lang/php5/Makefile.php
+++ b/lang/php5/Makefile.php
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.11 2005/10/19 18:11:26 tv Exp $
+# $NetBSD: Makefile.php,v 1.12 2005/10/23 16:59:49 jdolecek Exp $
#
.include "../../lang/php5/Makefile.common"
@@ -20,7 +20,7 @@ PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
CONFIGURE_ARGS+= --with-config-file-path=${PKG_SYSCONFDIR}
# The Solaris system regex structures miss re_magic used by PHP build
-.if ${OPSYS} != "SunOS"
+.if (${OPSYS} != "SunOS") && (${OPSYS} != "Linux")
CONFIGURE_ARGS+= --with-regex=system
.else
CONFIGURE_ARGS+= --with-regex=php
diff --git a/www/php4/Makefile.php b/www/php4/Makefile.php
index e627fd1118d..7ed7307e6df 100644
--- a/www/php4/Makefile.php
+++ b/www/php4/Makefile.php
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.28 2005/10/19 18:05:06 tv Exp $
+# $NetBSD: Makefile.php,v 1.29 2005/10/23 16:59:49 jdolecek Exp $
.include "../../www/php4/Makefile.common"
@@ -22,7 +22,7 @@ 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"
+.if (${OPSYS} != "SunOS") && (${OPSYS} != "Linux")
CONFIGURE_ARGS+= --with-regex=system
.else
CONFIGURE_ARGS+= --with-regex=php