From 2c5747f97410449b58d300c046066f34aa78e524 Mon Sep 17 00:00:00 2001 From: rh Date: Tue, 26 Mar 2002 06:25:16 +0000 Subject: 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. --- textproc/libxml/buildlink.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'textproc/libxml') 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} -- cgit v1.2.3