diff options
-rw-r--r-- | lang/php53/Makefile.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lang/php53/Makefile.php b/lang/php53/Makefile.php index 1fd5b7c1a80..8c6240f826f 100644 --- a/lang/php53/Makefile.php +++ b/lang/php53/Makefile.php @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.php,v 1.19 2012/07/20 12:28:17 taca Exp $ +# $NetBSD: Makefile.php,v 1.20 2012/07/25 13:18:43 fhajny Exp $ # used by lang/php53/Makefile # used by www/ap-php/Makefile @@ -44,7 +44,7 @@ CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX} # Note: This expression is the same as ${PKGBASE}, but the latter is # not defined yet, so we cannot use it here. PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} -PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts suhosin +PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts suhosin readline PKG_SUGGESTED_OPTIONS+= inet6 ssl #SUBST_CLASSES+= ini @@ -95,5 +95,12 @@ CONFIGURE_ARGS+= --without-openssl CONFIGURE_ARGS+= --enable-maintainer-zts .endif +.if !empty(PKG_OPTIONS:Mreadline) +.include "../../devel/readline/buildlink3.mk" +CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} +.else +CONFIGURE_ARGS+= --without-readline +.endif + DL_AUTO_VARS= yes .include "../../mk/dlopen.buildlink3.mk" |