summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2017-07-01 16:23:19 +0000
committerschmonz <schmonz@pkgsrc.org>2017-07-01 16:23:19 +0000
commit835437bafe1823e7da2049b8c7abe35837fef04b (patch)
treef629057059ee17e93d29ff32acf4c5789b3d5cbe /textproc
parent3fc63442d87db65df75a6090456d2ba2e918ee11 (diff)
downloadpkgsrc-835437bafe1823e7da2049b8c7abe35837fef04b.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.
Diffstat (limited to 'textproc')
-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