aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/py-liblzma/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-06-27 12:50:29 +0800
committermiwi <miwi@FreeBSD.org>2010-06-27 12:50:29 +0800
commit2808c2969ac6131493f6e311a28eed4f76877636 (patch)
tree92e5dced04f6c13446fb2b98ff25e24a4c712645 /archivers/py-liblzma/Makefile
parentfdd67a7ce79dd139a9d399e9f1db12eb4590bfea (diff)
downloadfreebsd-ports-gnome-2808c2969ac6131493f6e311a28eed4f76877636.tar.gz
freebsd-ports-gnome-2808c2969ac6131493f6e311a28eed4f76877636.tar.zst
freebsd-ports-gnome-2808c2969ac6131493f6e311a28eed4f76877636.zip
- Update to 0.5.3
PR: 148110 Submitted by: David Naylor <naylor.b.david@gmail.com> (maintainer) Feature safe: yes
Diffstat (limited to 'archivers/py-liblzma/Makefile')
-rw-r--r--archivers/py-liblzma/Makefile7
1 files changed, 5 insertions, 2 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>