diff options
author | adrianp <adrianp> | 2009-02-21 12:56:12 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2009-02-21 12:56:12 +0000 |
commit | 5b7c92c6484910b3dc3959c0547b39bba3370ccf (patch) | |
tree | b2d6c847ee81619c58c1d042dbac3c596690be41 | |
parent | 5c9f29aa0c33bc1c3f18a39c45a3eba24da85082 (diff) | |
download | pkgsrc-5b7c92c6484910b3dc3959c0547b39bba3370ccf.tar.gz |
Work around for pdksh bug documented in PR#40709
This should work on at least SunOS 5.10 and 5.11
-rw-r--r-- | misc/php-mbstring/Makefile | 10 |
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" |