summaryrefslogtreecommitdiff
path: root/archivers/gtar/Makefile
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2008-01-16 02:09:33 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2008-01-16 02:09:33 +0000
commit85ec89441cca92bd5060a897d16bf5d27666d7a8 (patch)
tree13a1890a0650eeab37bcb17eee1bbd2712fdde12 /archivers/gtar/Makefile
parentUpdate to 3.2.4. (diff)
Update to 1.19. Changes in this releases:
* new option --exclude-vcs * miscellaneous bug fixes
Notes
Notes: svn path=/head/; revision=205714
Diffstat (limited to 'archivers/gtar/Makefile')
-rw-r--r--archivers/gtar/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index a4950e31bc49..bb59fd5933c0 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= tar
-PORTVERSION= 1.18
-PORTREVISION= 1
+PORTVERSION= 1.19
CATEGORIES= archivers sysutils
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -41,6 +40,15 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
+.include <bsd.port.pre.mk>
+
+# after the GNU gzip implementation was replaced with a BSD licensed version
+.if (${OSVERSION} >= 602105) && \
+ (${OSVERSION} < 700000 || ${OSVERSION} >= 700029)
+USE_AUTOTOOLS= autoconf:261:env # autom4te
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tests_gzip.at
+.endif
+
# avoid triggering auto framework rebuilds
# FreeBSD 5.5 makeinfo can't rebuild tar.info
post-patch:
@@ -50,4 +58,4 @@ post-patch:
test: build
@cd ${WRKSRC} && ${MAKE} check
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>