| @@ -1,16 +1,24 @@ | | | @@ -1,16 +1,24 @@ |
1 | # $NetBSD: Makefile,v 1.9 2008/06/12 02:14:37 joerg Exp $ | | 1 | # $NetBSD: Makefile,v 1.10 2009/02/21 12:56:12 adrianp Exp $ |
2 | | | 2 | |
3 | MODNAME= mbstring | | 3 | MODNAME= mbstring |
4 | CATEGORIES+= misc | | 4 | CATEGORIES+= misc |
5 | COMMENT= PHP extension for multibyte characters support (currently, Japanese only) | | 5 | COMMENT= PHP extension for multibyte characters support (currently, Japanese only) |
6 | | | 6 | |
7 | PKG_DESTDIR_SUPPORT= user-destdir | | 7 | PKG_DESTDIR_SUPPORT= user-destdir |
8 | | | 8 | |
9 | CONFLICTS= php-mbstring-[0-9]* | | 9 | CONFLICTS= php-mbstring-[0-9]* |
10 | | | 10 | |
11 | USE_PHP_EXT_PATCHES= yes | | 11 | USE_PHP_EXT_PATCHES= yes |
12 | | | 12 | |
13 | CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR} | | 13 | CONFIGURE_ARGS+= --enable-${MODNAME}=shared,${BUILDLINK_DIR} |
14 | | | 14 | |
| | | 15 | .include "../../mk/bsd.prefs.mk" |
| | | 16 | |
| | | 17 | # Work around for pdksh bug documented in PR#40709 |
| | | 18 | # This should work on at least SunOS 5.10 and 5.11 |
| | | 19 | .if ${OPSYS} == "SunOS" |
| | | 20 | CONFIG_SHELL= /usr/bin/ksh |
| | | 21 | .endif |
| | | 22 | |
15 | .include "../../lang/php/ext.mk" | | 23 | .include "../../lang/php/ext.mk" |
16 | .include "../../mk/bsd.pkg.mk" | | 24 | .include "../../mk/bsd.pkg.mk" |