From 2808c2969ac6131493f6e311a28eed4f76877636 Mon Sep 17 00:00:00 2001 From: miwi Date: Sun, 27 Jun 2010 04:50:29 +0000 Subject: - Update to 0.5.3 PR: 148110 Submitted by: David Naylor (maintainer) Feature safe: yes --- archivers/py-liblzma/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'archivers/py-liblzma/Makefile') diff --git a/archivers/py-liblzma/Makefile b/archivers/py-liblzma/Makefile index eec72d1e8465..0b33895198a8 100644 --- a/archivers/py-liblzma/Makefile +++ b/archivers/py-liblzma/Makefile @@ -5,8 +5,7 @@ # $FreeBSD$ PORTNAME= liblzma -PORTVERSION= 0.5.2 -PORTREVISION= 1 +PORTVERSION= 0.5.3 CATEGORIES= archivers python MASTER_SITES= ${MASTER_SITE_CHEESESHOP}source/p/pyliblzma/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -26,6 +25,10 @@ PYDISTUTILS_PKGNAME= py${PORTNAME} .if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012) LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz +.else +post-patch: + @${REINPLACE_CMD} -e 's/pc_cflags = .*/pc_cflags = ""/' \ + -e 's/pc_libs = .*/pc_libs = "-llzma"/' ${WRKSRC}/setup.py .endif .include -- cgit