summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2001-08-31 07:22:30 +0000
committerskrll <skrll@pkgsrc.org>2001-08-31 07:22:30 +0000
commit4321ab57d957c05ad7a192fdbabfa7ec98f608e0 (patch)
treef061bf6169c92bbce9a31d7124be0b9c412a4db3
parent8188bdebc04bf8d5edf129c3bb54696af4511301 (diff)
downloadpkgsrc-4321ab57d957c05ad7a192fdbabfa7ec98f608e0.tar.gz
Make libxml2 appear in the normal location so that pkgs don't have to
touched to find the includes/libraries.
-rw-r--r--textproc/libxml2/buildlink.mk4
-rw-r--r--www/kannel/Makefile5
2 files changed, 4 insertions, 5 deletions
diff --git a/textproc/libxml2/buildlink.mk b/textproc/libxml2/buildlink.mk
index 7c92e1d58c4..16a22689ce0 100644
--- a/textproc/libxml2/buildlink.mk
+++ b/textproc/libxml2/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.7 2001/08/24 16:59:01 wiz Exp $
+# $NetBSD: buildlink.mk,v 1.8 2001/08/31 07:22:30 skrll Exp $
#
# This Makefile fragment is included by packages that use libxml2.
#
@@ -26,6 +26,8 @@ BUILDLINK_FILES.libxml2= include/libxml2/libxml/*
BUILDLINK_FILES.libxml2+= lib/libxml2.*
BUILDLINK_FILES.libxml2+= lib/xml2Conf.sh
+BUILDLINK_TRANSFORM.libxml2= -e "s|\/include\/libxml2|\/include|g"
+
.include "../../devel/zlib/buildlink.mk"
.include "../../converters/libiconv/buildlink.mk"
diff --git a/www/kannel/Makefile b/www/kannel/Makefile
index f63c135421f..ef245ab4d07 100644
--- a/www/kannel/Makefile
+++ b/www/kannel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/07/21 14:16:53 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/08/31 07:22:31 skrll Exp $
#
DISTNAME= gateway-${KANNEL_VER}
@@ -18,9 +18,6 @@ USE_GMAKE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --disable-docs
-CFLAGS+= -I${BUILDLINK_DIR}/include/libxml2 \
- -I${BUILDLINK_DIR}/include/libxml2/libxml
-
.include "../../textproc/libxml2/buildlink.mk"
.include "../../devel/pth/buildlink.mk"
.include "../../mk/bsd.pkg.mk"