summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcherry <cherry@pkgsrc.org>2017-02-21 05:25:13 +0000
committercherry <cherry@pkgsrc.org>2017-02-21 05:25:13 +0000
commit84d1e58ee107dcc6da18e50b577286d029fa446d (patch)
tree566ba02d0520ca5609d23a142c9e4634198d09a4
parentdc62fe947d9afd24a4ef290697c48d374d7926e7 (diff)
downloadpkgsrc-84d1e58ee107dcc6da18e50b577286d029fa446d.tar.gz
Add an upper API version restriction.
The current only user of this buildlink file is asterisk-chan-dongle (which is yet to be committed). With further users, comms/asterisk may need to find a version specific directory as newer versions are imported.
-rw-r--r--comms/asterisk/buildlink3.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/comms/asterisk/buildlink3.mk b/comms/asterisk/buildlink3.mk
index fa6511b7e88..df64c5e776f 100644
--- a/comms/asterisk/buildlink3.mk
+++ b/comms/asterisk/buildlink3.mk
@@ -1,11 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2017/02/10 11:01:48 cherry Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2017/02/21 05:25:13 cherry Exp $
BUILDLINK_TREE+= asterisk
.if !defined(ASTERISK_BUILDLINK3_MK)
ASTERISK_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.asterisk+= asterisk>=11.25.1nb1
+# Current user is comms/asterisk-chan-dongle, which is tied to v11.x
+BUILDLINK_API_DEPENDS.asterisk+= asterisk>=11.25.1nb1<12
BUILDLINK_PKGSRCDIR.asterisk?= ../../comms/asterisk
.endif # ASTERISK_BUILDLINK3_MK