summaryrefslogtreecommitdiff
path: root/lang/gnat_util/buildlink3.mk
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2014-04-30 16:25:20 +0000
committermarino <marino@pkgsrc.org>2014-04-30 16:25:20 +0000
commite8b5e0b45c4e94880ca787a46a4c76339d121490 (patch)
treef195ca7b8ddee3dffc4d0488770163dd018d72be /lang/gnat_util/buildlink3.mk
parent6cba22adc78581f73def32077bede06e9e7a93f2 (diff)
downloadpkgsrc-e8b5e0b45c4e94880ca787a46a4c76339d121490.tar.gz
Add new source package: lang/gnat_util
Several tools are built with GNAT sources and they have to be the exact source that built the Ada compiler that builds the tool. To ensure this, a common trick to the create a library with those sources and link the library instead of using the embedded source files which never match the FSF compiler properly. The first tool this new gcc 4.9.0-based library will be used for is devel/gprbuild-aux
Diffstat (limited to 'lang/gnat_util/buildlink3.mk')
-rw-r--r--lang/gnat_util/buildlink3.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/gnat_util/buildlink3.mk b/lang/gnat_util/buildlink3.mk
new file mode 100644
index 00000000000..d7493766f5f
--- /dev/null
+++ b/lang/gnat_util/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/04/30 16:25:20 marino Exp $
+
+BUILDLINK_TREE+= gnat_util
+
+.if !defined(GNAT_UTIL_BUILDLINK3_MK)
+GNAT_UTIL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gnat_util+= gnat_util>=20140422
+BUILDLINK_PKGSRCDIR.gnat_util?= ../../lang/gnat_util
+
+.endif
+
+BUILDLINK_TREE+= -gnat_util