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 diff --git a/archivers/py-liblzma/distinfo b/archivers/py-liblzma/distinfo index df19b1fa56f6..fc522fa79a66 100644 --- a/archivers/py-liblzma/distinfo +++ b/archivers/py-liblzma/distinfo @@ -1,3 +1,3 @@ -MD5 (pyliblzma-0.5.2.tar.bz2) = 8e5596bc60e784c74f10e94820655336 -SHA256 (pyliblzma-0.5.2.tar.bz2) = 44716f94108ede658183c4036f60169b58ea77a52aa8fd6a9a412fb8d551a016 -SIZE (pyliblzma-0.5.2.tar.bz2) = 49011 +MD5 (pyliblzma-0.5.3.tar.bz2) = 500f61116ee1ab4063b49c121786863a +SHA256 (pyliblzma-0.5.3.tar.bz2) = 08d762f36d5e59fb9bb0e22e000c300b21f97e35b713321ee504cfb442667957 +SIZE (pyliblzma-0.5.3.tar.bz2) = 43498