summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2009-02-21 12:56:12 +0000
committeradrianp <adrianp@pkgsrc.org>2009-02-21 12:56:12 +0000
commit4f85014faf74c4d5dd93d02d6fd2983cb59a2d4c (patch)
treeb2d6c847ee81619c58c1d042dbac3c596690be41 /misc
parent62ec0c4dc9029c663940acaafea3e2c7a4030cfc (diff)
downloadpkgsrc-4f85014faf74c4d5dd93d02d6fd2983cb59a2d4c.tar.gz
Work around for pdksh bug documented in PR#40709
This should work on at least SunOS 5.10 and 5.11
Diffstat (limited to 'misc')
-rw-r--r--misc/php-mbstring/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/misc/php-mbstring/Makefile b/misc/php-mbstring/Makefile
index 61207c758b3..9b7d7299b40 100644
--- a/misc/php-mbstring/Makefile
+++ b/misc/php-mbstring/Makefile
@@ -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 @@ 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"