summaryrefslogtreecommitdiff
path: root/devel/GConf
diff options
context:
space:
mode:
authorjlam <jlam>2002-04-11 22:56:53 +0000
committerjlam <jlam>2002-04-11 22:56:53 +0000
commit525f5e97c9c7a7237ea518844084a57f056b5510 (patch)
tree6136e81024210402a380627ac40faa2692b9b4ee /devel/GConf
parentabf1bc9aa026033a2d31b8375c83f6b8d7b791c5 (diff)
downloadpkgsrc-525f5e97c9c7a7237ea518844084a57f056b5510.tar.gz
The location of the gconf headers as output by gconf-config must be
properly translated for buildlink.
Diffstat (limited to 'devel/GConf')
-rw-r--r--devel/GConf/buildlink.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/GConf/buildlink.mk b/devel/GConf/buildlink.mk
index 1458656084c..b9bd1cb1c17 100644
--- a/devel/GConf/buildlink.mk
+++ b/devel/GConf/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.6 2002/04/09 18:23:07 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.7 2002/04/11 22:56:53 jlam Exp $
#
# This Makefile fragment is included by packages that use gconf.
#
@@ -25,6 +25,11 @@ BUILDLINK_PREFIX.gconf_DEFAULT= ${X11PREFIX}
BUILDLINK_FILES.gconf= include/gconf/1/gconf/*
BUILDLINK_FILES.gconf+= lib/libgconf-*
+REPLACE_BUILDLINK_SED+= \
+ -e "s|-I${BUILDLINK_DIR}/\(include/gconf/\)|-I${BUILDLINK_PREFIX.gconf}/\1|g"
+BUILDLINK_CONFIG_WRAPPER_SED+= \
+ -e "s|-I${BUILDLINK_PREFIX.gconf}/\(include/gconf/\)|-I${BUILDLINK_DIR}/\1|g"
+
.include "../../databases/db3/buildlink.mk"
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../devel/oaf/buildlink.mk"