summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authortv <tv>2004-04-09 18:38:12 +0000
committertv <tv>2004-04-09 18:38:12 +0000
commit8f9a937567c0e2767f9b4109764eb365fa5ecd73 (patch)
treec48e150b0e4e473d80bed2cd6b3c059d0961e1f0 /pkgtools/pkg_install/Makefile
parentb105f19778a1b406af5d7a5fd8d8a252c8f8c9c5 (diff)
downloadpkgsrc-8f9a937567c0e2767f9b4109764eb365fa5ecd73.tar.gz
Merge 20040409: Parameterize the umask calls so that defs.*.mk can change
it on a per-opsys basis (and so that mk.conf can override it to match what the pkgsrc builder is using).
Diffstat (limited to 'pkgtools/pkg_install/Makefile')
-rw-r--r--pkgtools/pkg_install/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 0d9d33f0b7a..62bbe610e07 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.99 2004/03/29 02:24:11 tv Exp $
+# $NetBSD: Makefile,v 1.100 2004/04/09 18:38:12 tv Exp $
# Notes to package maintainers:
#
@@ -48,10 +48,12 @@ PLIST_SUBST+= PKG_TOOLS_BIN=${PKG_TOOLS_BIN}
LIBNBCOMPAT_FILESDIR= ${.CURDIR}/../../pkgtools/libnbcompat/files
LIBNBCOMPAT_SRCDIR= ${WRKDIR}/libnbcompat
-CFLAGS+= -I${LIBNBCOMPAT_SRCDIR}
+CPPFLAGS+= -I${LIBNBCOMPAT_SRCDIR}
LDFLAGS+= -L${LIBNBCOMPAT_SRCDIR}
LIBS+= -lnbcompat
+CPPFLAGS+= -DDEF_UMASK=${DEF_UMASK}
+
MAKE_ENV+= MACHINE_ARCH="${MACHINE_ARCH}"
MAKE_ENV+= OPSYS="${OPSYS}"