summaryrefslogtreecommitdiff
path: root/lang/php71
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2017-07-11 03:28:08 +0000
committermanu <manu@pkgsrc.org>2017-07-11 03:28:08 +0000
commitf27e8569d079ebc71e99709a5f6074d27f12bc14 (patch)
tree50d6981faa6d137ea855c2563208e5743b96a1d3 /lang/php71
parentcf337d32f0193685be5059ffbdeefbe6e4acd9d0 (diff)
downloadpkgsrc-f27e8569d079ebc71e99709a5f6074d27f12bc14.tar.gz
Add calendar package option to build PHP with calendar support
Diffstat (limited to 'lang/php71')
-rw-r--r--lang/php71/Makefile.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/php71/Makefile.php b/lang/php71/Makefile.php
index fd7cbf3dd88..6376c321a36 100644
--- a/lang/php71/Makefile.php
+++ b/lang/php71/Makefile.php
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.3 2017/06/20 07:24:08 manu Exp $
+# $NetBSD: Makefile.php,v 1.4 2017/07/11 03:28:09 manu Exp $
# used by lang/php71/Makefile
# used by www/ap-php/Makefile
# used by www/php-fpm/Makefile
@@ -45,7 +45,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"