pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/php-mbstring Work around for pdksh bug documented...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7c944be6ea9
branches:  trunk
changeset: 554811:a7c944be6ea9
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Feb 21 12:56:12 2009 +0000

description:
Work around for pdksh bug documented in PR#40709
This should work on at least SunOS 5.10 and 5.11

diffstat:

 misc/php-mbstring/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 7458d50c94e4 -r a7c944be6ea9 misc/php-mbstring/Makefile
--- a/misc/php-mbstring/Makefile        Sat Feb 21 10:28:32 2009 +0000
+++ b/misc/php-mbstring/Makefile        Sat Feb 21 12:56:12 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:37 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2009/02/21 12:56:12 adrianp Exp $
 
 MODNAME=               mbstring
 CATEGORIES+=           misc
@@ -12,5 +12,13 @@
 
 CONFIGURE_ARGS+=       --enable-${MODNAME}=shared,${BUILDLINK_DIR}
 
+.include "../../mk/bsd.prefs.mk"
+
+# Work around for pdksh bug documented in PR#40709
+# This should work on at least SunOS 5.10 and 5.11
+.if ${OPSYS} == "SunOS"
+CONFIG_SHELL=          /usr/bin/ksh
+.endif
+
 .include "../../lang/php/ext.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index