diff options
author | jlam <jlam@pkgsrc.org> | 2005-05-16 03:04:44 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-05-16 03:04:44 +0000 |
commit | 2338cbae2709fa31f2b29fa5a4636469fbc53d70 (patch) | |
tree | b4a01b61c27a7220ff7f5134cb7652ae5ab80571 /www/htdig | |
parent | e70b376fa428d35e2ee7ec89f1f025ea77c1a2e5 (diff) | |
download | pkgsrc-2338cbae2709fa31f2b29fa5a4636469fbc53d70.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 'www/htdig')
-rw-r--r-- | www/htdig/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/www/htdig/Makefile b/www/htdig/Makefile index 583946f7bd9..d311b53c077 100644 --- a/www/htdig/Makefile +++ b/www/htdig/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2005/04/19 00:28:31 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2005/05/16 03:04:45 jlam Exp $ DISTNAME= htdig-3.1.6 PKGREVISION= 3 @@ -41,10 +41,11 @@ CONF_FILES+= ${PREFIX}/share/examples/htdig/htdig.conf \ ${PKG_SYSCONFDIR}/htdig.conf .include "../../mk/bsd.prefs.mk" -.if defined(EXTRACT_USING_PAX) -EXTRACT_ELEMENTS= -c ${DISTNAME}/db* -.else + +.if !empty(EXTRACT_USING:Mgtar) EXTRACT_ELEMENTS= --exclude ${DISTNAME}/db* +.else +EXTRACT_ELEMENTS= -c ${DISTNAME}/db* .endif .include "../../databases/db/buildlink3.mk" |