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.
This commit is contained in:
jlam 2002-10-23 05:33:36 +00:00
parent 924ffbc79d
commit 9d5aace7d4

View file

@ -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