summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-23 05:33:36 +0000
committerjlam <jlam@pkgsrc.org>2002-10-23 05:33:36 +0000
commit9d5aace7d4228262be247c9b81cb8172da548ff1 (patch)
tree047f46af4d40716cd73cbad0738e129882b547f0
parent924ffbc79d340882712a91fb3976b553d9766d15 (diff)
downloadpkgsrc-9d5aace7d4228262be247c9b81cb8172da548ff1.tar.gz
Move USE_BUILDLINK2 setting to the common Makefile since we include
buildlink2.mk files from here. Also change a BUILDLINK_DIR to a BUILDLINK_PREFIX.gdbm since we strive not to lie to the configure/build processes any longer with buildlink2.
-rw-r--r--www/php3/Makefile.common9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/php3/Makefile.common b/www/php3/Makefile.common
index bf5e5e3df1d..96a4d8cb5ad 100644
--- a/www/php3/Makefile.common
+++ b/www/php3/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2002/10/09 11:55:54 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2002/10/23 05:33:36 jlam Exp $
DISTNAME= php-${DIST_VERS}
CATEGORIES+= www php3
@@ -25,11 +25,12 @@ PATCHDIR?= ${.CURDIR}/../../www/php3/patches
PHP_EXTENSION_DIR= lib/php3
PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
-# Here we configure only for what NetBSD ships. We add the rest via modules.
-GNU_CONFIGURE= yes
+USE_BUILDLINK2= # defined
+GNU_CONFIGURE= # defined
+# Here we configure only for what NetBSD ships. We add the rest via modules.
CONFIGURE_ARGS+= --without-gd
-CONFIGURE_ARGS+= --with-gdbm=${BUILDLINK_DIR}
+CONFIGURE_ARGS+= --with-gdbm=${BUILDLINK_PREFIX.gdbm}
CONFIGURE_ARGS+= --with-yp
CONFIGURE_ARGS+= --with-zlib
CONFIGURE_ARGS+= --with-dbase