Sat Feb 21 12:56:12 2009 UTC ()
Work around for pdksh bug documented in PR#40709
This should work on at least SunOS 5.10 and 5.11


(adrianp)
diff -r1.9 -r1.10 pkgsrc/misc/php-mbstring/Makefile

cvs diff -r1.9 -r1.10 pkgsrc/misc/php-mbstring/Attic/Makefile (expand / switch to context diff)
--- pkgsrc/misc/php-mbstring/Attic/Makefile 2008/06/12 02:14:37 1.9
+++ pkgsrc/misc/php-mbstring/Attic/Makefile 2009/02/21 12:56:12 1.10
@@ -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
@@ -11,6 +11,14 @@
 USE_PHP_EXT_PATCHES=	yes
 
 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"