diff options
-rw-r--r-- | textproc/libxml/buildlink.mk | 8 |
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} |