summaryrefslogtreecommitdiff
path: root/x11/controlcenter
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-03-24 13:07:50 +0000
committertron <tron@pkgsrc.org>2002-03-24 13:07:50 +0000
commit5ef7d0f9e5a2a09a27820990c14a3def88562cb8 (patch)
tree54c7587019ffb94dc4937df8760bb1dd7c32d6c4 /x11/controlcenter
parent4e8cd4531a4a4ed7bfb33f342b3c08f11f374298 (diff)
downloadpkgsrc-5ef7d0f9e5a2a09a27820990c14a3def88562cb8.tar.gz
Fix buildlink glue code so that "capplet-widget.h" is found by packages
which need it for building. This fixes build problem in e.g. the "gnome-core" package.
Diffstat (limited to 'x11/controlcenter')
-rw-r--r--x11/controlcenter/buildlink.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/controlcenter/buildlink.mk b/x11/controlcenter/buildlink.mk
index 77fb11384fd..9227f39c94b 100644
--- a/x11/controlcenter/buildlink.mk
+++ b/x11/controlcenter/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.4 2002/03/24 02:42:19 rh Exp $
+# $NetBSD: buildlink.mk,v 1.5 2002/03/24 13:07:50 tron Exp $
#
# This Makefile fragment is included by packages that use controlcenter.
#
@@ -25,6 +25,8 @@ BUILDLINK_PREFIX.controlcenter_DEFAULTS= ${X11PREFIX}
BUILDLINK_FILES.controlcenter= include/libcapplet1/*
BUILDLINK_FILES.controlcenter+= lib/libcapplet.*
+BUILDLINK_TRANSFORM.controlcenter= \
+ -e "s|/include/libcapplet1/|/include/|g
REPLACE_BUILDLINK_SED+= \
-e "s|-I${BUILDLINK_DIR}/\(include/libcapplet1/\)|-I${BUILDLINK_PREFIX.controlcenter}/\1|g"
BUILDLINK_CONFIG_WRAPPER_SED+= \