summaryrefslogtreecommitdiff
path: root/net/go-net
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2015-12-29 21:47:48 +0000
committerbsiegert <bsiegert@pkgsrc.org>2015-12-29 21:47:48 +0000
commit0acea973e201f3012715044862ddcd0078f4438d (patch)
treea0e983eb305b5c0b6c9c0a36102c6e8f10b935bb /net/go-net
parent705fc4d589625afd18d3e337ac9eaa00680350a0 (diff)
downloadpkgsrc-0acea973e201f3012715044862ddcd0078f4438d.tar.gz
Real buildlink support for Go, hacked with wiz@.
Go packages now define a set of files to buildlink in their buildlink3.mk. go-packages.mk no longer looks in ${PREFIX}/gopkg during the build. This should also fix the spurious issues with rebuilds of .a files during bulk builds of Go packages.
Diffstat (limited to 'net/go-net')
-rw-r--r--net/go-net/buildlink3.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/go-net/buildlink3.mk b/net/go-net/buildlink3.mk
index 7cca37ff4ae..3b0b9e4c7e6 100644
--- a/net/go-net/buildlink3.mk
+++ b/net/go-net/buildlink3.mk
@@ -1,11 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.1 2015/03/10 21:28:45 bsiegert Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2015/12/29 21:47:48 bsiegert Exp $
BUILDLINK_TREE+= go-net
.if !defined(GO_NET_BUILDLINK3_MK)
GO_NET_BUILDLINK3_MK:=
+BUILDLINK_CONTENTS_FILTER.go-net= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-net?= build
+
BUILDLINK_API_DEPENDS.go-net+= go-net>=20150310
BUILDLINK_PKGSRCDIR.go-net?= ../../net/go-net