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
commit38bbe23a5401c8b8db5eb59e1b569ad1d68e4002 (patch)
tree372270a5b978a84bee12f9cdc87e51929c1b991b /devel/libgetopt
parentf74859d5201e590742c4bdfb5a0f0d071c1e1bf1 (diff)
downloadpkgsrc-38bbe23a5401c8b8db5eb59e1b569ad1d68e4002.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