summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2010-04-15 11:49:28 +0000
committerjmcneill <jmcneill>2010-04-15 11:49:28 +0000
commite1cd1a95fb2e498919311185c2e6e5b451d02b5d (patch)
tree8ff51d1ac6082c48aca380e707db2717ca2031d8 /textproc
parentebabb266b97ed2487d13fd1c3e9701cb9afd7851 (diff)
downloadpkgsrc-e1cd1a95fb2e498919311185c2e6e5b451d02b5d.tar.gz
add a build dependency on py-expat so the build doesn't fail with this message:
failed to find and generate stubs for libxml2, aborting ... <class 'xml.sax._exceptions.SAXReaderNotAvailable'> No parsers found *** Error code 1 Stop. make: stopped in /usr/pkgsrc/textproc/py-libxml2
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-libxml2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile
index 80502d3a9f8..34ba8fa208c 100644
--- a/textproc/py-libxml2/Makefile
+++ b/textproc/py-libxml2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2010/04/13 16:05:01 drochner Exp $
+# $NetBSD: Makefile,v 1.36 2010/04/15 11:49:28 jmcneill Exp $
DISTNAME= libxml2-2.7.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -25,6 +25,8 @@ SUBST_SED.setup= -e "/ROOT/s,'/usr','${BUILDLINK_PREFIX.libxml2}',g" \
-e "/^\"/s,/usr/include,${BUILDLINK_PREFIX.iconv}/include,g" \
-e "/^\"/s,/usr/local/include,${BUILDLINK_PREFIX.iconv}/include,g"
+BUILD_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
+
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=${PKGVERSION}
.include "../../textproc/libxml2/buildlink3.mk"