Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -1,4 +1,4 @@
# $NetBSD: Makefile.php,v 1.6 2013/07/21 17:29:47 taca 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
@@ -37,15 +37,14 @@ CONFIGURE_ARGS+= --disable-pdo
CONFIGURE_ARGS+= --disable-json
CONFIGURE_ARGS+= --enable-cgi
CONFIGURE_ARGS+= --enable-mysqlnd
CONFIGURE_ARGS+= --enable-xml
CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX}
.include "../../textproc/libxml2/buildlink3.mk"
# 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 readline
PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX}
PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline calendar
PKG_SUGGESTED_OPTIONS+= inet6 ssl
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD"
@@ -72,7 +71,9 @@ CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --without-openssl
.endif
.if !empty(PKG_OPTIONS:Mmaintainer-zts)
.if empty(PKG_OPTIONS:Mmaintainer-zts)
CONFIGURE_ARGS+= --disable-maintainer-zts
.else
CONFIGURE_ARGS+= --enable-maintainer-zts
.endif
@@ -91,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"