summaryrefslogtreecommitdiff
path: root/textproc
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
commit849112c23f03d893837509c34bf1612ef17a7a30 (patch)
treea0e983eb305b5c0b6c9c0a36102c6e8f10b935bb /textproc
parent4488086de0c1c3725f048338300f83383dce64dd (diff)
downloadpkgsrc-849112c23f03d893837509c34bf1612ef17a7a30.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 'textproc')
-rw-r--r--textproc/go-text/buildlink3.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/go-text/buildlink3.mk b/textproc/go-text/buildlink3.mk
index 96f3b27e216..f20a24ac844 100644
--- a/textproc/go-text/buildlink3.mk
+++ b/textproc/go-text/buildlink3.mk
@@ -1,11 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.1 2015/03/10 19:57:18 bsiegert Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2015/12/29 21:47:48 bsiegert Exp $
BUILDLINK_TREE+= go-text
.if !defined(GO_TEXT_BUILDLINK3_MK)
GO_TEXT_BUILDLINK3_MK:=
+BUILDLINK_CONTENTS_FILTER.go-text= ${EGREP} gopkg/
BUILDLINK_DEPMETHOD.go-text?= build
+
BUILDLINK_API_DEPENDS.go-text+= go-text>=20150310
BUILDLINK_PKGSRCDIR.go-text?= ../../textproc/go-text
.endif # GO_TEXT_BUILDLINK3_MK