From c91ea84dced4cede1e70ea73ed58e137edcc3305 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 28 Apr 2002 22:37:11 +0000 Subject: Some programs don't look in libxml/headername.h, and even libxml itself does not create the directory (any longer?). Be a bit defensive about this and add -I${BUILDLINK_DIR}/include/libxml to BUILDLINK_CONFIG_WRAPPER_SED, while letting -I${BUILDLINK_DIR}/include stay, too. XXX: This should be revisited, and the packages depending on libxml2 be fixed (either way); for now, this change fixes libwmf, ogle, and ogle_gui (and perhaps others), while not changing the situation for kdelibs2 (which I didn't want to test because it's too big). Per a discussion with Johnny Lam. --- textproc/libxml2/buildlink.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'textproc') diff --git a/textproc/libxml2/buildlink.mk b/textproc/libxml2/buildlink.mk index f9684e89a94..33981e9baee 100644 --- a/textproc/libxml2/buildlink.mk +++ b/textproc/libxml2/buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink.mk,v 1.10 2001/10/03 20:56:53 jlam Exp $ +# $NetBSD: buildlink.mk,v 1.11 2002/04/28 22:37:11 wiz Exp $ # # This Makefile fragment is included by packages that use libxml2. # @@ -29,7 +29,7 @@ BUILDLINK_FILES.libxml2+= lib/xml2Conf.sh # The libxml2 headers should be found at the same location as for libxml.I BUILDLINK_TRANSFORM.libxml2= -e "s|/include/libxml2/|/include/|g" BUILDLINK_CONFIG_WRAPPER_SED+= \ - -e "s|-I${BUILDLINK_PREFIX.libxml2}/include/libxml2/|-I${BUILDLINK_DIR}/include/|g" + -e "s|-I${BUILDLINK_PREFIX.libxml2}/include/libxml2|-I${BUILDLINK_DIR}/include/libxml -I${BUILDLINK_DIR}/include/|g" .include "../../devel/zlib/buildlink.mk" .include "../../converters/libiconv/buildlink.mk" -- cgit v1.2.3