summaryrefslogtreecommitdiff
path: root/www/php4
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-11 07:04:57 +0000
committerrillig <rillig@pkgsrc.org>2005-11-11 07:04:57 +0000
commit67cb6ffda2ac38a20c387af05f0aa9bc35a6ef19 (patch)
tree496067f75ab0f785470e8568e43960ead6846197 /www/php4
parent269cc828170cfdba5aadbf3b946917fe58a8b3f6 (diff)
downloadpkgsrc-67cb6ffda2ac38a20c387af05f0aa9bc35a6ef19.tar.gz
PKGBASE is defined too late to be used in PKG_OPTIONS_VAR.
Diffstat (limited to 'www/php4')
-rw-r--r--www/php4/Makefile.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/php4/Makefile.php b/www/php4/Makefile.php
index b4ee091e3ee..29638d76078 100644
--- a/www/php4/Makefile.php
+++ b/www/php4/Makefile.php
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.32 2005/11/05 17:25:39 rillig Exp $
+# $NetBSD: Makefile.php,v 1.33 2005/11/11 07:04:57 rillig Exp $
.include "../../www/php4/Makefile.common"
@@ -42,7 +42,9 @@ CONFIGURE_ARGS+= ${PHP4_CONFIGURE_ARGS}
CONFIGURE_ENV+= ac_cv_lib_pam_pam_start=no
CONFIGURE_ENV+= EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}"
-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