summaryrefslogtreecommitdiff
path: root/textproc/libxml
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2002-03-26 06:25:16 +0000
committerrh <rh@pkgsrc.org>2002-03-26 06:25:16 +0000
commit2c5747f97410449b58d300c046066f34aa78e524 (patch)
tree8efc80226e5b5ef0e990913e1a799ac49d8947a5 /textproc/libxml
parent4a85856b1477d61a21f41c14c17c2abfe83e81b6 (diff)
downloadpkgsrc-2c5747f97410449b58d300c046066f34aa78e524.tar.gz
Add buildlink wrapper for gnome-1.0 so this actually works on systems
without xpkgwedge, where it is not picked up "by accident" by another gnome wrapper.
Diffstat (limited to 'textproc/libxml')
-rw-r--r--textproc/libxml/buildlink.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/libxml/buildlink.mk b/textproc/libxml/buildlink.mk
index f1a9ea75e08..97eb69c1c9d 100644
--- a/textproc/libxml/buildlink.mk
+++ b/textproc/libxml/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.9 2002/01/13 11:45:31 wiz Exp $
+# $NetBSD: buildlink.mk,v 1.10 2002/03/26 06:25:16 rh Exp $
#
# This Makefile fragment is included by packages that use libxml.
#
@@ -35,7 +35,11 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libxml}
BUILDLINK_CONFIG.libxml= ${BUILDLINK_PREFIX.libxml}/bin/xml-config
BUILDLINK_CONFIG_WRAPPER.libxml=${BUILDLINK_DIR}/bin/xml-config
REPLACE_BUILDLINK_SED+= \
- -e "s|${BUILDLINK_CONFIG_WRAPPER.libxml}|${BUILDLINK_CONFIG.libxml}|g"
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.libxml}|${BUILDLINK_CONFIG.libxml}|g"\
+ -e "s|-I${BUILDLINK_DIR}/\(include/gnome-xml\)|-I${BUILDLINK_PREFIX.libxml}/\1|g"
+BUILDLINK_CONFIG_WRAPPER_SED+= \
+ -e "s|-I${BUILDLINK_PREFIX.libxml}/\(include/gnome-xml\)|-I${BUILDLINK_DIR}/\1 -I${BUILDLINK_DIR}/include|g"
+
.if defined(USE_CONFIG_WRAPPER)
XML_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.libxml}