summaryrefslogtreecommitdiff
path: root/devel/libgetopt
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-16 18:23:26 +0000
committerjlam <jlam@pkgsrc.org>2004-03-16 18:23:26 +0000
commit59bdf89739e1b8cb98678cbab4ad81c01458c735 (patch)
tree372270a5b978a84bee12f9cdc87e51929c1b991b /devel/libgetopt
parent46453f87ed4bc3eddb718123c153f3b8b519b82f (diff)
downloadpkgsrc-59bdf89739e1b8cb98678cbab4ad81c01458c735.tar.gz
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>.
Diffstat (limited to 'devel/libgetopt')
-rw-r--r--devel/libgetopt/buildlink3.mk3
1 files changed, 2 insertions, 1 deletions
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