summaryrefslogtreecommitdiff
path: root/devel/libgetopt
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/libgetopt
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/libgetopt')
-rw-r--r--devel/libgetopt/buildlink.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/libgetopt/buildlink.mk b/devel/libgetopt/buildlink.mk
index 130b94c320a..7a57326214b 100644
--- a/devel/libgetopt/buildlink.mk
+++ b/devel/libgetopt/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.10 2001/07/01 22:59:16 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.11 2001/07/20 01:54:38 jlam Exp $
#
# This Makefile fragment is included by packages that use getopt_long().
#
@@ -23,7 +23,7 @@ BUILDLINK_PREFIX.getopt= /usr
BUILDLINK_FILES.getopt= include/getopt.h
.else
DEPENDS+= ${BUILDLINK_DEPENDS.getopt}:../../devel/libgetopt
-BUILDLINK_PREFIX.getopt= ${LOCALBASE}
+EVAL_PREFIX+= BUILDLINK_PREFIX.getopt=libgetopt
BUILDLINK_FILES.getopt= include/getopt.h
BUILDLINK_FILES.getopt+= lib/libgetopt.*
BUILDLINK_FILES.getopt+= lib/libgetopt_pic.a