summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-09 18:38:12 +0000
committertv <tv@pkgsrc.org>2004-04-09 18:38:12 +0000
commit5f8f17eb0be9c1ca2e568bc1c0ff65fbc80ce70d (patch)
treec48e150b0e4e473d80bed2cd6b3c059d0961e1f0 /pkgtools/pkg_install/Makefile
parentf060c78ebf77edaec3eb563c6269cf9feabe9141 (diff)
downloadpkgsrc-5f8f17eb0be9c1ca2e568bc1c0ff65fbc80ce70d.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}"