diff options
author | wiz <wiz> | 2002-04-28 22:37:11 +0000 |
---|---|---|
committer | wiz <wiz> | 2002-04-28 22:37:11 +0000 |
commit | c91ea84dced4cede1e70ea73ed58e137edcc3305 (patch) | |
tree | 32a1d924ff9c53f362a4daf74f11c30dc47ca614 | |
parent | d387b8a087787905f79f1161232d59802c4a5d8c (diff) | |
download | pkgsrc-c91ea84dced4cede1e70ea73ed58e137edcc3305.tar.gz |
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.
-rw-r--r-- | textproc/libxml2/buildlink.mk | 4 |
1 files changed, 2 insertions, 2 deletions
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" |