From 59bdf89739e1b8cb98678cbab4ad81c01458c735 Mon Sep 17 00:00:00 2001
From: jlam <jlam@pkgsrc.org>
Date: Tue, 16 Mar 2004 18:23:26 +0000
Subject: If the ${PKGBASE} of a package doesn't match the token passed to
 BUILDLINK_PACKAGES, then set BUILDLINK_PKGBASE.<pkg> explicitly so that we
 can map from <pkg> to BUILDLINK_PKGBASE.<pkg>.

---
 devel/libgetopt/buildlink3.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'devel/libgetopt')

diff --git a/devel/libgetopt/buildlink3.mk b/devel/libgetopt/buildlink3.mk
index 1d2ceb33792..bcedd9b27e6 100644
--- a/devel/libgetopt/buildlink3.mk
+++ b/devel/libgetopt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2004/03/10 17:57:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2004/03/16 18:23:27 jlam Exp $
 
 BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
 LIBGETOPT_BUILDLINK3_MK:=	${LIBGETOPT_BUILDLINK3_MK}+
@@ -11,6 +11,7 @@ BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Ngetopt}
 BUILDLINK_PACKAGES+=	getopt
 
 .if !empty(LIBGETOPT_BUILDLINK3_MK:M+)
+BUILDLINK_PKGBASE.getopt?=	libgetopt
 BUILDLINK_DEPENDS.getopt+=	libgetopt>=1.3
 BUILDLINK_PKGSRCDIR.getopt?=	../../devel/libgetopt
 .endif	# LIBGETOPT_BUILDLINK3_MK
-- 
cgit v1.2.3