diff options
author | naddy <naddy@FreeBSD.org> | 2010-05-22 00:23:46 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2010-05-22 00:23:46 +0800 |
commit | 49639d17a2fdbc05df5cd315a85b532aa16d2589 (patch) | |
tree | 1c14ace8b2285b597feb56698cf475e81b2591b1 /archivers/libarchive | |
parent | 22a2c1c2a6ad16ea36eb8e89262f2e501955bf56 (diff) | |
download | freebsd-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/libarchive')
-rw-r--r-- | archivers/libarchive/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile index 4d05d7035081..cfa9ae7b9e96 100644 --- a/archivers/libarchive/Makefile +++ b/archivers/libarchive/Makefile @@ -13,8 +13,6 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= glewis@FreeBSD.org COMMENT= Library to create and read several streaming archive formats -LIB_DEPENDS= lzma.0:${PORTSDIR}/archivers/xz - GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_GNOME= libxml2 @@ -55,4 +53,10 @@ CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \ check: (cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} check) -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) +LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz +.endif + +.include <bsd.port.post.mk> |