aboutsummaryrefslogtreecommitdiff
path: root/archivers/gtar
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2010-05-21 16:23:46 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2010-05-21 16:23:46 +0000
commit26e034399038717c81103e25c84629878e25a5b7 (patch)
tree17dd6dc1a05ca3011940a6e0f7d8ced0de8561bd /archivers/gtar
parent832fb3aa956c05d3a28db280c9b40364e33a2de8 (diff)
downloadports-26e034399038717c81103e25c84629878e25a5b7.tar.gz
ports-26e034399038717c81103e25c84629878e25a5b7.zip
Notes
Diffstat (limited to 'archivers/gtar')
-rw-r--r--archivers/gtar/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index 9a10ed294382..dfd88494860b 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= naddy@FreeBSD.org
COMMENT= GNU version of the traditional tape archiver
# only force dependencies for compressors that have a single-letter option
-RUN_DEPENDS= xz:${PORTSDIR}/archivers/xz
+#RUN_DEPENDS= # see below
INFO= tar
@@ -50,4 +50,10 @@ PLIST_SUB+= NLS="@comment "
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
+RUN_DEPENDS+= xz:${PORTSDIR}/archivers/xz
+.endif
+
+.include <bsd.port.post.mk>