diff options
author | fhajny <fhajny> | 2012-07-25 13:18:43 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2012-07-25 13:18:43 +0000 |
commit | 17be281930f8d5e034ef68851ec372ee56510f87 (patch) | |
tree | 154d8326be55b6fad04a19c8c03091363adaa86c /lang/php53 | |
parent | 91f19128b6a2446e3624526a33eb101a2dcf5490 (diff) | |
download | pkgsrc-17be281930f8d5e034ef68851ec372ee56510f87.tar.gz |
Add support for readline (for interactive PHP CLI).
Diffstat (limited to 'lang/php53')
-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" |