summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2002-03-31 09:37:08 +0000
committerjmc <jmc@pkgsrc.org>2002-03-31 09:37:08 +0000
commita7434090ff73a2b3fe7c509f62644260979101d2 (patch)
tree58ef0ecd0ad16f7e83ace4a1e695e1053360371f /x11
parentda80eab05553e8507980b8e774a0097dfa4c4097 (diff)
downloadpkgsrc-a7434090ff73a2b3fe7c509f62644260979101d2.tar.gz
Add sed patterns so buildlink'd include files get picked up correctly.
Diffstat (limited to 'x11')
-rw-r--r--x11/gtk--/buildlink.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/gtk--/buildlink.mk b/x11/gtk--/buildlink.mk
index 1ae874e0bac..ee899797e47 100644
--- a/x11/gtk--/buildlink.mk
+++ b/x11/gtk--/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.1 2001/10/23 03:13:29 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.2 2002/03/31 09:37:08 jmc Exp $
#
# This Makefile fragment is included by packages that use gtk--.
#
@@ -41,7 +41,10 @@ BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.gtkmm}
BUILDLINK_CONFIG.gtkmm= ${BUILDLINK_PREFIX.gtkmm}/bin/gtkmm-config
BUILDLINK_CONFIG_WRAPPER.gtkmm= ${BUILDLINK_DIR}/bin/gtkmm-config
REPLACE_BUILDLINK_SED+= \
- -e "s|${BUILDLINK_CONFIG_WRAPPER.gtkmm}|${BUILDLINK_CONFIG.gtkmm}|g"
+ -e "s|${BUILDLINK_CONFIG_WRAPPER.gtkmm}|${BUILDLINK_CONFIG.gtkmm}|g" \
+ -e "s|-I${BUILDLINK_DIR}/\(lib/gtkmm/include\)|-I${BUILDLINK_PREFIX.gnome-libs}/\1|g"
+BUILDLINK_CONFIG_WRAPPER_SED+= \
+ -e "s|-I${BUILDLINK_PREFIX.gtkmm}/\(lib/gtkmm/include\)|-I${BUILDLINK_DIR}/\1|g"
.if defined(USE_CONFIG_WRAPPER)
GTKMM_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.gtkmm}