aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-06-27 04:50:29 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-06-27 04:50:29 +0000
commit304169c1107f70b3e704aa1e523288ab36ba4120 (patch)
tree9f9bcf1b5034b0ec604f5e484a41a47e05763889 /archivers
parentd40fb33f05e2250b28ab805b1fd94c83ebc5ecd5 (diff)
downloadports-304169c1107f70b3e704aa1e523288ab36ba4120.tar.gz
ports-304169c1107f70b3e704aa1e523288ab36ba4120.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/py-liblzma/Makefile7
-rw-r--r--archivers/py-liblzma/distinfo6
2 files changed, 8 insertions, 5 deletions
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 <bsd.port.post.mk>
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