diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2010-04-15 11:49:28 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2010-04-15 11:49:28 +0000 |
commit | a12b1db995e6c858ba1822be6dfde9a9de7eb80d (patch) | |
tree | 8ff51d1ac6082c48aca380e707db2717ca2031d8 /textproc | |
parent | e998ef63a06fde49ba7470f78438438d37b02636 (diff) | |
download | pkgsrc-a12b1db995e6c858ba1822be6dfde9a9de7eb80d.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/Makefile | 4 |
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" |