Date: Tue, 14 Dec 2010 15:50:50 +1000 From: "Dima Panov" <fluffy@FreeBSD.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/153139: archivers/rpm4: declare hidden dependency on liblzma Message-ID: <1292305850.16903@Beastie.Fluffy.Khv.RU> Resent-Message-ID: <201012140600.oBE60M5m009196@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153139 >Category: ports >Synopsis: archivers/rpm4: declare hidden dependency on liblzma >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Dec 14 06:00:22 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dima Panov >Release: FreeBSD 9.0-900025-CURRENT amd64 >Organization: Fluffy.Khv.RU >Environment: System: FreeBSD 9.0-900025-CURRENT #0 r215936M: Sun Nov 28 00:30:34 VLAT 2010 root@Beastie.Fluffy.Khv.RU:/usr/obj/usr/src/sys/Spot >Description: archivers/rpm4: declare hidden dependency on liblzma >How-To-Repeat: >Fix: --- rpm4.diff begins here --- Index: archivers/rpm4/Makefile =================================================================== RCS file: /home/ncvs/ports/archivers/rpm4/Makefile,v retrieving revision 1.29 diff -u -r1.29 Makefile --- archivers/rpm4/Makefile 4 Dec 2010 07:30:16 -0000 1.29 +++ archivers/rpm4/Makefile 14 Dec 2010 05:49:14 -0000 @@ -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/ @@ -37,6 +37,10 @@ .include <bsd.port.options.mk> +.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) +LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz +.endif + .ifdef WITH_PYTHON CONFIGURE_ARGS+=--enable-python USE_PYTHON= 2.6+ --- rpm4.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1292305850.16903>