summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-11 07:10:06 +0000
committerrillig <rillig@pkgsrc.org>2005-11-11 07:10:06 +0000
commited9b1b7eddac9bc41fd0a16ccdb58e0686d28c29 (patch)
tree662730065cf5fb7fbc3b0483cd89f96733316516 /lang
parent67cb6ffda2ac38a20c387af05f0aa9bc35a6ef19 (diff)
downloadpkgsrc-ed9b1b7eddac9bc41fd0a16ccdb58e0686d28c29.tar.gz
PKGBASE is defined too late to be used in PKG_OPTIONS_VAR, so it cannot
be used here.
Diffstat (limited to 'lang')
-rw-r--r--lang/php5/Makefile.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/php5/Makefile.php b/lang/php5/Makefile.php
index 5ef776ce426..5ad83dcf2c8 100644
--- a/lang/php5/Makefile.php
+++ b/lang/php5/Makefile.php
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.13 2005/11/05 17:18:28 rillig Exp $
+# $NetBSD: Makefile.php,v 1.14 2005/11/11 07:10:06 rillig Exp $
#
.include "../../lang/php5/Makefile.common"
@@ -40,7 +40,9 @@ CONFIGURE_ARGS+= --enable-xml
CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX}
.include "../../textproc/libxml2/buildlink3.mk"
-PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGBASE}
+# 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
PKG_SUGGESTED_OPTIONS+= ssl