summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-20 01:54:31 +0000
committerjlam <jlam@pkgsrc.org>2001-07-20 01:54:31 +0000
commit7b1d3cb4652a3602fe1254e08c29dca10e7c0c60 (patch)
treeb2e768de7c211ef606d480324d634b7befcb3c51 /graphics/gdk-pixbuf
parent342f418a3ac28ae57ca1ff09ca81aeb9fd066251 (diff)
downloadpkgsrc-7b1d3cb4652a3602fe1254e08c29dca10e7c0c60.tar.gz
Mechanical changes to buildlink.mk files to use EVAL_PREFIX to set
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages regardless of whether they were installed before or after xpkgwedge was installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
Diffstat (limited to 'graphics/gdk-pixbuf')
-rw-r--r--graphics/gdk-pixbuf/buildlink.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/gdk-pixbuf/buildlink.mk b/graphics/gdk-pixbuf/buildlink.mk
index 6997520a173..dc5d59ebb6b 100644
--- a/graphics/gdk-pixbuf/buildlink.mk
+++ b/graphics/gdk-pixbuf/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.5 2001/07/02 05:33:59 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.6 2001/07/20 01:54:44 jlam Exp $
#
# This Makefile fragment is included by packages that use gdk-pixbuf.
#
@@ -20,7 +20,7 @@ GDK_PIXBUF_BUILDLINK_MK= # defined
BUILDLINK_DEPENDS.gkd-pixbuf?= gdk-pixbuf>=0.8.0nb1
DEPENDS+= ${BUILDLINK_DEPENDS.gkd-pixbuf}:../../graphics/gdk-pixbuf
-BUILDLINK_PREFIX.gdk-pixbuf= ${X11PREFIX}
+EVAL_PREFIX+= BUILDLINK_PREFIX.gdk-pixbuf=gdk-pixbuf
BUILDLINK_FILES.gdk-pixbuf= include/gdk-pixbuf/*
BUILDLINK_FILES.gdk-pixbuf+= lib/libgdk_pixbuf.*
BUILDLINK_FILES.gdk-pixbuf+= lib/libgdk_pixbuf_xlib.*
@@ -33,8 +33,10 @@ BUILDLINK_TARGETS.gdk-pixbuf= gdk-pixbuf-buildlink
BUILDLINK_TARGETS.gdk-pixbuf+= gdk-pixbuf-buildlink-config-wrapper
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.gdk-pixbuf}
-BUILDLINK_CONFIG.gdk-pixbuf= ${X11PREFIX}/bin/gdk-pixbuf-config
-BUILDLINK_CONFIG_WRAPPER.gdk-pixbuf= ${BUILDLINK_DIR}/bin/gdk-pixbuf-config
+BUILDLINK_CONFIG.gdk-pixbuf= \
+ ${BUILDLINK_PREFIX.gdk-pixbuf}/bin/gdk-pixbuf-config
+BUILDLINK_CONFIG_WRAPPER.gdk-pixbuf= \
+ ${BUILDLINK_DIR}/bin/gdk-pixbuf-config
.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)
GDK_PIXBUF_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.gdk-pixbuf}