On Darwin, use GNU tar (from the gtar-base package) when creating binary

packages, since certain arguments passed to the tar command by pkg_create
assume the existence of GNU tar (-T for one), and Darwin's standard tar
doesn't understand these.
This commit is contained in:
agc 2001-12-27 22:10:15 +00:00
parent 6a8e651ea1
commit 07599c6130
2 changed files with 7 additions and 4 deletions

View file

@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.4 2001/12/17 21:23:42 agc Exp $
$NetBSD: distinfo,v 1.5 2001/12/27 22:10:15 agc Exp $
SHA1 (pkg_install-20010724.tar.gz) = 313c28bdde6e7206c16be1d29f1990ff84460bf0
Size (pkg_install-20010724.tar.gz) = 75229 bytes
SHA1 (patch-aa) = 5bf9b47353a457673b57ccf4a872ea94eb490b08
SHA1 (patch-ab) = 979a94db4a78ed20318abfc06f1188b87252ede4
SHA1 (patch-ab) = 39d9549a1e30912cd2602d941426f0ba8d41eed3
SHA1 (patch-ac) = 722a7fe8cd01854fc54afb11907b4d245244887a

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ab,v 1.3 2001/12/17 21:23:42 agc Exp $
$NetBSD: patch-ab,v 1.4 2001/12/27 22:10:15 agc Exp $
--- Makefile.inc 2001/12/17 21:10:41 1.1
+++ Makefile.inc 2001/12/17 21:13:54
@ -12,7 +12,7 @@ $NetBSD: patch-ab,v 1.3 2001/12/17 21:23:42 agc Exp $
LIBINSTALL != cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
CPPFLAGS+=-I${.CURDIR}/../lib ${DEBUG} -DBINDIR='"${BINDIR}"'
@@ -35,6 +38,12 @@
@@ -35,6 +38,15 @@
CHMOD?= /bin/chmod
CHOWN?= /bin/chown
CHGRP?= /bin/chgrp
@ -20,6 +20,9 @@ $NetBSD: patch-ab,v 1.3 2001/12/17 21:23:42 agc Exp $
+CHMOD?= /bin/chmod
+CHOWN?= /usr/sbin/chown
+CHGRP?= /usr/bin/chgrp
+TAR_CMD?= gtar
+TAR_FULLPATHNAME?= ${LOCALBASE}/bin/${TAR_CMD}
+CPPFLAGS+=-DTAR_CMD='"${TAR_CMD}"' -DTAR_FULLPATHNAME='"${TAR_FULLPATHNAME}"'
+.PATH: ${DIGESTDIR}
+CPPFLAGS+= -I${DIGESTDIR}
.endif