summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-05-16 03:04:44 +0000
committerjlam <jlam@pkgsrc.org>2005-05-16 03:04:44 +0000
commit48bf254b1e4609b55e0a76a10dc00f445c41d210 (patch)
treeb4a01b61c27a7220ff7f5134cb7652ae5ab80571 /sysutils
parentcf8005a4510e788439df07455522ae6a130c3a2b (diff)
downloadpkgsrc-48bf254b1e4609b55e0a76a10dc00f445c41d210.tar.gz
Change the EXTRACT_USING_PAX defined/undefined option into a EXTRACT_USING
which can take multiple values -- "pax" or "gtar". The default value of EXTRACT_USING is "pax", which more closely matches reality since before, we were using bootstrap "tar" for ${GTAR} and it was actually pax-as-tar. Also, stop pretending pax-as-tar from the bootstrap kit or on NetBSD is GNU tar. Lastly, in bsd.pkg.extract.mk, note whether we need "pax" or "gtar" depending on what we need to extract the distfiles.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lsof/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 7d011394f9c..c4ead6c2d30 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.83 2005/05/16 01:15:33 jlam Exp $
+# $NetBSD: Makefile,v 1.84 2005/05/16 03:04:45 jlam Exp $
#
DISTNAME= lsof_4.74
@@ -32,10 +32,6 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/bsd.prefs.mk"
-.if !defined(EXTRACT_USING_PAX)
-PKGSRC_USE_TOOLS+= gtar
-.endif
-
.if ${OPSYS} == "NetBSD"
REAL_GROUP= -g kmem
.elif ${OPSYS} == "SunOS"
@@ -54,7 +50,7 @@ post-extract:
${ECHO} "($$EXPMD5 != $$CALCMD5)" ; \
${FALSE} ; \
fi ; \
- if [ "X${EXTRACT_USING_PAX}" = "X" ]; then \
+ if [ X${EXTRACT_USING} = Xgtar ]; then \
${GTAR} -xf ${SRCBALL_NAME}.tar; \
else \
${PAX} -O -r < ${SRCBALL_NAME}.tar; \