summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-02-06 11:48:32 +0000
committerdrochner <drochner@pkgsrc.org>2012-02-06 11:48:32 +0000
commit403f407591f8398b993f05d63d7c2b71d08d1eab (patch)
tree0940df07f5204dcb6cb126130ee9be3e4a58bc81
parent9f9dc4fef8466f5625527080b11043ce45475c63 (diff)
downloadpkgsrc-403f407591f8398b993f05d63d7c2b71d08d1eab.tar.gz
set some variables to point clients to exact ("valac-0.12" rather than
just "valac") versions, to prepare for parallel installation of multiple vala compiler versions
-rw-r--r--lang/vala/buildlink3.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/vala/buildlink3.mk b/lang/vala/buildlink3.mk
index 9ba7152368e..77249149191 100644
--- a/lang/vala/buildlink3.mk
+++ b/lang/vala/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2011/04/22 13:42:19 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2012/02/06 11:48:32 drochner Exp $
BUILDLINK_TREE+= vala
@@ -9,6 +9,12 @@ BUILDLINK_API_DEPENDS.vala+= vala>=0.10.1
BUILDLINK_ABI_DEPENDS.vala?= vala>=0.12.0nb1
BUILDLINK_PKGSRCDIR.vala?= ../../lang/vala
+VALAC=${LOCALBASE}/bin/valac-0.12
+VAPIGEN=${LOCALBASE}/bin/vapigen-0.12
+.if defined(GNU_CONFIGURE)
+CONFIGURE_ENV+= VALAC=${VALAC} VAPIGEN=${VAPIGEN}
+.endif
+
.include "../../devel/glib2/buildlink3.mk"
.endif # VALA_BUILDLINK3_MK