summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-04-05 11:36:59 +0000
committerobache <obache@pkgsrc.org>2011-04-05 11:36:59 +0000
commit36172721c57c4b763b53e17034f8f4eaa35eb73b (patch)
tree5b0af80f1a0b7085192e69f865e9e9e9ea216d2d /devel
parent691f21761ea3fdb5e4af76e6e12aa7b28e1111a3 (diff)
downloadpkgsrc-36172721c57c4b763b53e17034f8f4eaa35eb73b.tar.gz
Add buildink3 support (build depend by default for test use).
Diffstat (limited to 'devel')
-rw-r--r--devel/googletest/buildlink3.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/googletest/buildlink3.mk b/devel/googletest/buildlink3.mk
new file mode 100644
index 00000000000..02a4eed729f
--- /dev/null
+++ b/devel/googletest/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2011/04/05 11:36:59 obache Exp $
+#
+
+BUILDLINK_TREE+= googletest
+
+.if !defined(GOOGLETEST_BUILDLINK3_MK)
+GOOGLETEST_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.googletest+= googletest>=1.4.0
+BUILDLINK_DEPMETHOD.googletest?= build
+BUILDLINK_PKGSRCDIR.googletest?= ../../devel/googletest
+.endif # GOOGLETEST_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -googletest