summaryrefslogtreecommitdiff
path: root/textproc/py-libxml2/Makefile
diff options
context:
space:
mode:
authorminskim <minskim>2006-04-17 14:43:47 +0000
committerminskim <minskim>2006-04-17 14:43:47 +0000
commit9c9e7c62d08ae629174278e0948ce78e8c0d0205 (patch)
treeb2869d1cf3ff5d04d6a975608b228aded9964146 /textproc/py-libxml2/Makefile
parente8e3a96270e3af63bbd7e3796fe5f046c24c5f58 (diff)
downloadpkgsrc-9c9e7c62d08ae629174278e0948ce78e8c0d0205.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/py-libxml2/Makefile')
-rw-r--r--textproc/py-libxml2/Makefile5
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"