summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz>2017-07-01 16:23:19 +0000
committerschmonz <schmonz>2017-07-01 16:23:19 +0000
commit9ea4cfea8509e7a846c300056ea37ade2e2afff4 (patch)
tree7712c0f09eda4473cc0445b8d2911c297e6fb3f5
parent424c75df215b1b1c25e7e0c48cd988d7a18f53e7 (diff)
downloadpkgsrc-9ea4cfea8509e7a846c300056ea37ade2e2afff4.tar.gz
On Darwin, even though the self-tests pass either way, py-libxslt
doesn't build if this .so is a "bundle", and does if it's a "dylib". Make it a dylib. Bump PKGREVISION.
-rw-r--r--textproc/py-libxml2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile
index 4dddafa1cf9..fc033b16be2 100644
--- a/textproc/py-libxml2/Makefile
+++ b/textproc/py-libxml2/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.54 2016/12/30 02:17:49 dholland Exp $
+# $NetBSD: Makefile,v 1.55 2017/07/01 16:23:19 schmonz Exp $
.include "../../textproc/libxml2/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
+PKGREVISION= 3
COMMENT= Python wrapper for libxml2
LICENSE= modified-bsd
@@ -21,6 +21,8 @@ SUBST_SED.setup= -e "/ROOT/s,'/usr','${BUILDLINK_PREFIX.libxml2}',g"
SUBST_SED.setup+= -e "/^\"/s,/usr/include,${BUILDLINK_PREFIX.iconv}/include,g"
SUBST_SED.setup+= -e "/^\"/s,/usr/local/include,${BUILDLINK_PREFIX.iconv}/include,g"
+BUILDLINK_TRANSFORM.Darwin+= opt:-bundle:-dynamiclib
+
EGG_NAME= ${DISTNAME:S/-/_python-/}
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat