summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh>2002-03-26 06:25:16 +0000
committerrh <rh>2002-03-26 06:25:16 +0000
commit28a358069f044ff1871667b9ccea0e1c7f4a7f6e (patch)
tree8efc80226e5b5ef0e990913e1a799ac49d8947a5
parentd9aea4f8aa619f1039fd1ed1e30913d39aff472e (diff)
downloadpkgsrc-28a358069f044ff1871667b9ccea0e1c7f4a7f6e.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.
-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}