aboutsummaryrefslogtreecommitdiff
path: root/archivers/deco
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2010-05-21 16:22:40 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2010-05-21 16:22:40 +0000
commit832fb3aa956c05d3a28db280c9b40364e33a2de8 (patch)
treed738db061ce0cdc4644f32ae1e15dcf9266e9ab0 /archivers/deco
parent511276e0326a96cfe38ff840b36edcea6a6370e8 (diff)
downloadports-832fb3aa956c05d3a28db280c9b40364e33a2de8.tar.gz
ports-832fb3aa956c05d3a28db280c9b40364e33a2de8.zip
Notes
Diffstat (limited to 'archivers/deco')
-rw-r--r--archivers/deco/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/archivers/deco/Makefile b/archivers/deco/Makefile
index 4e4f8f5a52b4..de771fbb7c4a 100644
--- a/archivers/deco/Makefile
+++ b/archivers/deco/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= arc:${PORTSDIR}/archivers/arc \
arj:${PORTSDIR}/archivers/arj \
cabextract:${PORTSDIR}/archivers/cabextract \
dpkg:${PORTSDIR}/archivers/dpkg \
- lzma:${PORTSDIR}/archivers/xz \
lzop:${PORTSDIR}/archivers/lzop \
7z:${PORTSDIR}/archivers/p7zip \
rpm:${PORTSDIR}/archivers/rpm \
@@ -48,4 +47,10 @@ do-install:
.endfor
@cd ${WRKDIR}/${PORTNAME}-archive-1.5.1/ && ${CP} -pPR * ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
+RUN_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
+.endif
+
+.include <bsd.port.post.mk>