summaryrefslogtreecommitdiff
path: root/graphics/imlib
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/imlib
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/imlib')
-rw-r--r--graphics/imlib/buildlink.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/imlib/buildlink.mk b/graphics/imlib/buildlink.mk
index 57c23a53049..f6e301d0172 100644
--- a/graphics/imlib/buildlink.mk
+++ b/graphics/imlib/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.4 2001/07/02 05:33:59 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.5 2001/07/20 01:54:44 jlam Exp $
#
# This Makefile fragment is included by packages that use imlib.
#
@@ -20,7 +20,7 @@ IMLIB_BUILDLINK_MK= # defined
BUILDLINK_DEPENDS.imlib?= imlib>=1.9.8
DEPENDS+= ${BUILDLINK_DEPENDS.imlib}:../../graphics/imlib
-BUILDLINK_PREFIX.imlib= ${X11PREFIX}
+EVAL_PREFIX+= BUILDLINK_PREFIX.imlib=imlib
BUILDLINK_FILES.imlib= include/gdk_imlib.h
BUILDLINK_FILES.imlib+= include/gdk_imlib_private.h
BUILDLINK_FILES.imlib+= include/gdk_imlib_types.h
@@ -41,7 +41,7 @@ BUILDLINK_TARGETS.imlib= imlib-buildlink
BUILDLINK_TARGETS.imlib+= imlib-buildlink-config-wrapper
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.imlib}
-BUILDLINK_CONFIG.imlib= ${X11PREFIX}/bin/imlib-config
+BUILDLINK_CONFIG.imlib= ${BUILDLINK_PREFIX.imlib}/bin/imlib-config
BUILDLINK_CONFIG_WRAPPER.imlib= ${BUILDLINK_DIR}/bin/imlib-config
.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)