summaryrefslogtreecommitdiff
path: root/devel/libglade
diff options
context:
space:
mode:
authortron <tron>2001-10-05 18:14:56 +0000
committertron <tron>2001-10-05 18:14:56 +0000
commit797ae4a10ea6278728dd637aeee8db83ef997441 (patch)
tree6c9658b72d9f12a6860857c3bcb6c32ecfc934db /devel/libglade
parent236a82da5905d89fb8d2362c702575bb7bb06cb1 (diff)
downloadpkgsrc-797ae4a10ea6278728dd637aeee8db83ef997441.tar.gz
Create a softlink "glade" pointing to "libglade-1.0/glade" to avoid build
problems in programs which don't use "libglade-config" properly like e.g. "guppi".
Diffstat (limited to 'devel/libglade')
-rw-r--r--devel/libglade/buildlink.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/libglade/buildlink.mk b/devel/libglade/buildlink.mk
index 11aad8c6e68..619f4053cb0 100644
--- a/devel/libglade/buildlink.mk
+++ b/devel/libglade/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.1 2001/10/04 19:20:05 rh Exp $
+# $NetBSD: buildlink.mk,v 1.2 2001/10/05 18:14:56 tron Exp $
#
# This Makefile fragment is included by packages that use libglade.
#
@@ -40,6 +40,7 @@ BUILDLINK_CONFIG_WRAPPER_SED+= \
BUILDLINK_TARGETS.libglade= libglade-buildlink
BUILDLINK_TARGETS.libglade+= libglade-buildlink-config-wrapper
+BUILDLINK_TARGETS.libglade+= libglade-buildlink-include-link
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.libglade}
BUILDLINK_CONFIG.libglade= \
@@ -57,4 +58,8 @@ pre-configure: ${BUILDLINK_TARGETS.libglade}
libglade-buildlink: _BUILDLINK_USE
libglade-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
+libglade-buildlink-include-link:
+ ${_PKG_SILENT}${_PKG_DEBUG}${LN} -fs libglade-1.0/glade \
+ ${BUILDLINK_DIR}/include
+
.endif # LIBGLADE_BUILDLINK_MK