summaryrefslogtreecommitdiff
path: root/devel/smpeg
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 /devel/smpeg
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 'devel/smpeg')
-rw-r--r--devel/smpeg/buildlink.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/smpeg/buildlink.mk b/devel/smpeg/buildlink.mk
index b15db7b05eb..6706b605516 100644
--- a/devel/smpeg/buildlink.mk
+++ b/devel/smpeg/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.5 2001/07/02 05:33:58 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.6 2001/07/20 01:54:41 jlam Exp $
#
# This Makefile fragment is included by packages that use smpeg.
#
@@ -20,7 +20,7 @@ SMPEG_BUILDLINK_MK= # defined
BUILDLINK_DEPENDS.smpeg?= smpeg>=0.4.3
DEPENDS+= ${BUILDLINK_DEPENDS.smpeg}:../../devel/smpeg
-BUILDLINK_PREFIX.smpeg= ${LOCALBASE}
+EVAL_PREFIX+= BUILDLINK_PREFIX.smpeg=smpeg
BUILDLINK_FILES.smpeg= include/smpeg/*
BUILDLINK_FILES.smpeg+= lib/libsmpeg-*
BUILDLINK_FILES.smpeg+= lib/libsmpeg.*
@@ -31,7 +31,7 @@ BUILDLINK_TARGETS.smpeg= smpeg-buildlink
BUILDLINK_TARGETS.smpeg+= smpeg-buildlink-config-wrapper
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.smpeg}
-BUILDLINK_CONFIG.smpeg= ${LOCALBASE}/bin/smpeg-config
+BUILDLINK_CONFIG.smpeg= ${BUILDLINK_PREFIX.smpeg}/bin/smpeg-config
BUILDLINK_CONFIG_WRAPPER.smpeg= ${BUILDLINK_DIR}/bin/smpeg-config
.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)