diff options
author | Johan van Selst <johans@FreeBSD.org> | 2010-12-14 07:12:27 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2010-12-14 07:12:27 +0000 |
commit | 32d827c027cde0f59dfae87babbc1499241115ab (patch) | |
tree | cc021e60e9ada599fcb9898855899f4a9b4e0106 /archivers | |
parent | 23c2a6364f7b9e376f9548e859daf8863d9534f7 (diff) | |
download | ports-32d827c027cde0f59dfae87babbc1499241115ab.tar.gz ports-32d827c027cde0f59dfae87babbc1499241115ab.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/rpm4/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/archivers/rpm4/Makefile b/archivers/rpm4/Makefile index e69c619f0c52..3f176e67cbf3 100644 --- a/archivers/rpm4/Makefile +++ b/archivers/rpm4/Makefile @@ -6,7 +6,7 @@ PORTNAME= rpm PORTVERSION= 4.8.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= archivers MASTER_SITES= http://rpm.org/releases/rpm-${PORTVERSION:R}.x/ \ ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-${PORTVERSION:E}.x/ @@ -18,7 +18,7 @@ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \ nss3:${PORTSDIR}/security/nss BUILD_DEPENDS= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed -OPTIONS= PYTHON "Build Python rpm module" Off +OPTIONS= PYTHON "Build Python rpm module" On USE_AUTOTOOLS= libtool USE_BZIP2= yes @@ -37,7 +37,11 @@ CONFIGURE_ARGS+=--with-external-db .include <bsd.port.options.mk> -.ifdef WITH_PYTHON +.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) +LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz +.endif + +.ifndef WITHOUT_PYTHON CONFIGURE_ARGS+=--enable-python USE_PYTHON= 2.6+ PLIST_SUB+= PYTHON="" |