pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang Add calendar package option to build PHP with cal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f29ba6fd02a2
branches:  trunk
changeset: 365098:f29ba6fd02a2
user:      manu <manu%pkgsrc.org@localhost>
date:      Tue Jul 11 03:28:08 2017 +0000

description:
Add calendar package option to build PHP with calendar support

diffstat:

 lang/php56/Makefile.php |  8 ++++++--
 lang/php70/Makefile.php |  8 ++++++--
 lang/php71/Makefile.php |  8 ++++++--
 3 files changed, 18 insertions(+), 6 deletions(-)

diffs (84 lines):

diff -r 160e490c33ea -r f29ba6fd02a2 lang/php56/Makefile.php
--- a/lang/php56/Makefile.php   Mon Jul 10 21:34:38 2017 +0000
+++ b/lang/php56/Makefile.php   Tue Jul 11 03:28:08 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.2 2017/04/05 12:28:59 fhajny Exp $
+# $NetBSD: Makefile.php,v 1.3 2017/07/11 03:28:08 manu Exp $
 # used by lang/php56/Makefile
 # used by www/ap-php/Makefile
 # used by www/php-fpm/Makefile
@@ -42,7 +42,7 @@
 .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"
@@ -89,5 +89,9 @@
 INSTALL_MAKE_FLAGS+=   -r
 .endif
 
+.if !empty(PKG_OPTIONS:Mcalendar)
+CONFIGURE_ARGS+=        --enable-calendar
+.endif
+
 DL_AUTO_VARS=          yes
 .include "../../mk/dlopen.buildlink3.mk"
diff -r 160e490c33ea -r f29ba6fd02a2 lang/php70/Makefile.php
--- a/lang/php70/Makefile.php   Mon Jul 10 21:34:38 2017 +0000
+++ b/lang/php70/Makefile.php   Tue Jul 11 03:28:08 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.4 2017/06/20 07:24:08 manu Exp $
+# $NetBSD: Makefile.php,v 1.5 2017/07/11 03:28:08 manu Exp $
 # used by lang/php70/Makefile
 # used by www/ap-php/Makefile
 # used by www/php-fpm/Makefile
@@ -45,7 +45,7 @@
 .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 @@
 INSTALL_MAKE_FLAGS+=   -r
 .endif
 
+.if !empty(PKG_OPTIONS:Mcalendar)
+CONFIGURE_ARGS+=        --enable-calendar
+.endif
+
 DL_AUTO_VARS=          yes
 .include "../../mk/dlopen.buildlink3.mk"
diff -r 160e490c33ea -r f29ba6fd02a2 lang/php71/Makefile.php
--- a/lang/php71/Makefile.php   Mon Jul 10 21:34:38 2017 +0000
+++ b/lang/php71/Makefile.php   Tue Jul 11 03:28:08 2017 +0000
@@ -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 @@
 .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 @@
 INSTALL_MAKE_FLAGS+=   -r
 .endif
 
+.if !empty(PKG_OPTIONS:Mcalendar)
+CONFIGURE_ARGS+=        --enable-calendar
+.endif
+
 DL_AUTO_VARS=          yes
 .include "../../mk/dlopen.buildlink3.mk"



Home | Main Index | Thread Index | Old Index