aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/rpm5
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2010-05-22 00:23:46 +0800
committernaddy <naddy@FreeBSD.org>2010-05-22 00:23:46 +0800
commit49639d17a2fdbc05df5cd315a85b532aa16d2589 (patch)
tree1c14ace8b2285b597feb56698cf475e81b2591b1 /archivers/rpm5
parent22a2c1c2a6ad16ea36eb8e89262f2e501955bf56 (diff)
downloadfreebsd-ports-gnome-49639d17a2fdbc05df5cd315a85b532aa16d2589.tar.gz
freebsd-ports-gnome-49639d17a2fdbc05df5cd315a85b532aa16d2589.tar.zst
freebsd-ports-gnome-49639d17a2fdbc05df5cd315a85b532aa16d2589.zip
The xz utils and lzma library have been imported into base, so make
the dependency on the archivers/xz port conditional on OSVERSION.
Diffstat (limited to 'archivers/rpm5')
-rw-r--r--archivers/rpm5/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/archivers/rpm5/Makefile b/archivers/rpm5/Makefile
index 7671c5012e6e..6bd3d0130c0b 100644
--- a/archivers/rpm5/Makefile
+++ b/archivers/rpm5/Makefile
@@ -22,7 +22,6 @@ LIB_DEPENDS= db-${DB_VERSION:C/(.)/\1./}:${PORTSDIR}/databases/db${DB_VERSION} \
neon.28:${PORTSDIR}/www/neon28 \
magic:${PORTSDIR}/sysutils/file \
xar:${PORTSDIR}/archivers/xar \
- lzma:${PORTSDIR}/archivers/xz \
pcre.0:${PORTSDIR}/devel/pcre
BUILD_DEPENDS= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed
.if !defined(NOPORTDOCS)
@@ -118,6 +117,10 @@ PORTDOCS= *
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
+LIB_DEPENDS+= lzma:${PORTSDIR}/archivers/xz
+.endif
+
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif