pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc php regex is also necessary on Linux; pointed out by O...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8db7ddce882
branches:  trunk
changeset: 501469:f8db7ddce882
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sun Oct 23 16:59:49 2005 +0000

description:
php regex is also necessary on Linux; pointed out by Ondrej Tuma
in private e-mail

diffstat:

 lang/php5/Makefile.php |  4 ++--
 www/php4/Makefile.php  |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r dc556a6e0b80 -r f8db7ddce882 lang/php5/Makefile.php
--- a/lang/php5/Makefile.php    Sun Oct 23 16:58:42 2005 +0000
+++ b/lang/php5/Makefile.php    Sun Oct 23 16:59:49 2005 +0000
@@ -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 @@
 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 -r dc556a6e0b80 -r f8db7ddce882 www/php4/Makefile.php
--- a/www/php4/Makefile.php     Sun Oct 23 16:58:42 2005 +0000
+++ b/www/php4/Makefile.php     Sun Oct 23 16:59:49 2005 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index