diff options
author | fhajny <fhajny@pkgsrc.org> | 2012-07-25 13:18:43 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2012-07-25 13:18:43 +0000 |
commit | a962d0c6cbcfda2698f583dfc007bf0a05d146eb (patch) | |
tree | 154d8326be55b6fad04a19c8c03091363adaa86c /lang/php53 | |
parent | b1d3b99d8f9ed69cc371f39d9e4971b93ba0b652 (diff) | |
download | pkgsrc-a962d0c6cbcfda2698f583dfc007bf0a05d146eb.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" |