ports/153139: archivers/rpm4: declare hidden dependency on liblzma

Dima Panov fluffy at FreeBSD.org
Tue Dec 14 06:00:23 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list