diff options
author | Alex Dupre <ale@FreeBSD.org> | 2010-04-12 08:03:49 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2010-04-12 08:03:49 +0000 |
commit | dc71c393d820d65b67ccb76c2579e3debce92bb9 (patch) | |
tree | e9bc5e316bd9b2c1f6c609a4f33fdec4c840d091 /lang/php5 | |
parent | New port: WhatWeb can be used to detect the software packages that (diff) |
Fix build if multibyte regex support is disabled.
Notes
Notes:
svn path=/head/; revision=252587
Diffstat (limited to 'lang/php5')
-rw-r--r-- | lang/php5/Makefile.ext | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext index 074baf86071d..72b30400e301 100644 --- a/lang/php5/Makefile.ext +++ b/lang/php5/Makefile.ext @@ -155,10 +155,9 @@ CONFIGURE_ARGS+=--with-ldap-sasl .endif .if ${PHP_MODNAME} == "mbstring" -LIB_DEPENDS+= onig.1:${PORTSDIR}/devel/oniguruma4 CONFIGURE_ARGS+=--enable-mbstring \ - --with-onig=${LOCALBASE} + --with-pcre-dir=${LOCALBASE} OPTIONS= REGEX "Enable multibyte regex support" on @@ -488,6 +487,9 @@ CONFIGURE_ARGS+=--enable-gd-jis-conv .if ${PHP_MODNAME} == "mbstring" . if defined(WITHOUT_REGEX) CONFIGURE_ARGS+=--disable-mbregex +. else +LIB_DEPENDS+= onig.1:${PORTSDIR}/devel/oniguruma4 +CONFIGURE_ARGS+=--with-onig=${LOCALBASE} . endif .endif |