diff options
author | minskim <minskim@pkgsrc.org> | 2006-04-17 14:43:47 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-04-17 14:43:47 +0000 |
commit | e823f1820e8f2cfb30dd3adb6c6aaa4a3659985b (patch) | |
tree | b2869d1cf3ff5d04d6a975608b228aded9964146 /textproc | |
parent | 02f8f7c52d84e7f703cacd69432b00d1f021935a (diff) | |
download | pkgsrc-e823f1820e8f2cfb30dd3adb6c6aaa4a3659985b.tar.gz |
Replace hardcoded /usr/local/include with ${BUILDLINK_PREFIX.iconv}/include
to avoid picking up a wrong iconv library. Patch provided by Bel Woolley
in private email.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-libxml2/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile index 64eca297633..00200baad59 100644 --- a/textproc/py-libxml2/Makefile +++ b/textproc/py-libxml2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2006/04/06 06:22:51 reed Exp $ +# $NetBSD: Makefile,v 1.21 2006/04/17 14:43:47 minskim Exp $ DISTNAME= libxml2-2.6.23 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -20,7 +20,8 @@ SUBST_MESSAGE.setup= "Fixing hardcoded paths." SUBST_STAGE.setup= pre-build SUBST_FILES.setup= setup.py SUBST_SED.setup= -e "/ROOT/s,'/usr','${BUILDLINK_PREFIX.libxml2}',g" \ - -e "/^\"/s,/usr/include,${BUILDLINK_PREFIX.iconv}/include,g" + -e "/^\"/s,/usr/include,${BUILDLINK_PREFIX.iconv}/include,g" \ + -e "/^\"/s,/usr/local/include,${BUILDLINK_PREFIX.iconv}/include,g" BUILDLINK_API_DEPENDS.libxml2+= libxml2>=${PKGVERSION} .include "../../textproc/libxml2/buildlink3.mk" |