diff options
author | manu <manu> | 2015-03-13 17:05:22 +0000 |
---|---|---|
committer | manu <manu> | 2015-03-13 17:05:22 +0000 |
commit | 5260c5892e9ac22d5e745d8717be596cb619e6d7 (patch) | |
tree | 673b1561193b3df8abc88ae09e5bf6e671a8ca36 /lang/php54 | |
parent | 6d882ab2e4ee5635cb0f5f6eeea6dcd7cd210a29 (diff) | |
download | pkgsrc-5260c5892e9ac22d5e745d8717be596cb619e6d7.tar.gz |
Calendar extension for PHP 5.3 and PHP 5.4
Add calendar options to lang/php53 and lang/php54 to build the
calendar extension. Complete documentation on this extension can
be found here: http://php.net/manual/en/book.calendar.php
Diffstat (limited to 'lang/php54')
-rw-r--r-- | lang/php54/Makefile.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/php54/Makefile.php b/lang/php54/Makefile.php index 1b98d47f61b..5d48f13d99c 100644 --- a/lang/php54/Makefile.php +++ b/lang/php54/Makefile.php @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.php,v 1.9 2014/06/13 14:13:20 fhajny Exp $ +# $NetBSD: Makefile.php,v 1.10 2015/03/13 17:05:22 manu Exp $ # used by lang/php54/Makefile # used by www/ap-php/Makefile # used by www/php-fpm/Makefile @@ -44,7 +44,7 @@ CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX} .include "../../textproc/libxml2/buildlink3.mk" PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX} -PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline +PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline calendar PKG_SUGGESTED_OPTIONS+= inet6 ssl .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD" @@ -92,5 +92,9 @@ CONFIGURE_ARGS+= --enable-dtrace INSTALL_MAKE_FLAGS+= -r .endif +.if !empty(PKG_OPTIONS:Mcalendar) +CONFIGURE_ARGS+= --enable-calendar +.endif + DL_AUTO_VARS= yes .include "../../mk/dlopen.buildlink3.mk" |