summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authorabs <abs>2002-07-03 22:43:39 +0000
committerabs <abs>2002-07-03 22:43:39 +0000
commitc6f83c7a0069f0e24304ec082fe92fa9d8b00a71 (patch)
tree01d34b1d366ef21489df0d717c70c90a56fc5712 /pkgtools/pkg_install/Makefile
parent4e17ffe0aeb5fb26fd5fadcda3b3ba1849509aac (diff)
downloadpkgsrc-c6f83c7a0069f0e24304ec082fe92fa9d8b00a71.tar.gz
Compile and run under Linux. We're still missing pax and mtree, but using the
Darwin bootstrap kit everything else now works.
Diffstat (limited to 'pkgtools/pkg_install/Makefile')
-rw-r--r--pkgtools/pkg_install/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 4ecdf53c019..f2865f01fd1 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2002/06/10 05:51:05 martti Exp $
+# $NetBSD: Makefile,v 1.49 2002/07/03 22:43:39 abs Exp $
# Note to package maintainers:
# To update the distfile of this pkg, cd to /usr/src/usr.sbin,
@@ -45,6 +45,16 @@ MAKE_ENV+= MANINSTALL= MKMAN=no NOMAN=YES
MAKE_ENV+= ZOULARISBASE=${ZOULARISBASE}
.endif
+.if ${OPSYS} == "Linux"
+MAKE_ENV+= DIGESTDIR=${.CURDIR}/../digest/files
+CPPFLAGS+= -I${DIGESTDIR} -I${DIGESTDIR}
+CPPFLAGS+= -D__COPYRIGHT\(x\)=\; -D__RCSID\(x\)=\;
+MAKE_ENV+= LORDER=echo TSORT=tsort
+MAKE_ENV+= BINGRP=${BINGRP} BINOWN=${BINOWN}
+MAKE_ENV+= BINDIR=${PKG_TOOLS_BIN}
+MAKE_ENV+= MANDIR=${PKG_TOOLS_BIN}/../man
+.endif
+
.if ${OPSYS} == "Darwin"
MAKE_ENV+= DIGESTDIR=${.CURDIR}/../digest/files
CPPFLAGS+= -I${DIGESTDIR} -I${DIGESTDIR}