summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-09-14 15:29:03 +0000
committerjlam <jlam@pkgsrc.org>2003-09-14 15:29:03 +0000
commit52488ea352fe61519ae6496502b7d6693a7954a5 (patch)
tree92d9d2951240c7937356875a102f94e43429bd5a /pkgtools
parentbfd0f99ee4cf4b1ffcefc6b3e11da4ba53ec6300 (diff)
downloadpkgsrc-52488ea352fe61519ae6496502b7d6693a7954a5.tar.gz
Move inclusion of bsd.prefs.mk a little higher so that /etc/mk.conf
settings won't stomp on our CFLAGS/LDFLAGS/LIBS definitions.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index ff09a0bb286..d65bbbd1eaa 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2003/09/13 04:08:12 jlam Exp $
+# $NetBSD: Makefile,v 1.84 2003/09/14 15:29:03 jlam Exp $
# Notes to package maintainers:
#
@@ -32,12 +32,12 @@ PKG_PRESERVE= # defined
LIBNBCOMPAT_FILESDIR= ${.CURDIR}/../../pkgtools/libnbcompat/files
LIBNBCOMPAT_SRCDIR= ${WRKDIR}/libnbcompat
+.include "../../mk/bsd.prefs.mk"
+
CFLAGS+= -I${LIBNBCOMPAT_SRCDIR}
LDFLAGS+= -L${LIBNBCOMPAT_SRCDIR}
LIBS+= -lnbcompat
-.include "../../mk/bsd.prefs.mk"
-
VERSION!= ${AWK} -F '"' '/PKGTOOLS_VERSION/ {print $$2}' \
${FILESDIR}/lib/version.h