pkgsrc/net/gcloud-golang-metadata/buildlink3.mk
bsiegert 1726914d23 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.
2015-12-29 21:47:48 +00:00

16 lines
605 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2015/12/29 21:47:48 bsiegert Exp $
BUILDLINK_TREE+= gcloud-golang-metadata
.if !defined(GCLOUD_GOLANG_METADATA_BUILDLINK3_MK)
GCLOUD_GOLANG_METADATA_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.gcloud-golang-metadata+= gcloud-golang-metadata>=20150310
BUILDLINK_PKGSRCDIR.gcloud-golang-metadata?= ../../net/gcloud-golang-metadata
BUILDLINK_DEPMETHOD.gcloud-golang-metadata?= build
BUILDLINK_CONTENTS_FILTER.gcloud-golang-metadata= ${EGREP} gopkg/
.include "../../net/go-net/buildlink3.mk"
.endif # GCLOUD_GOLANG_METADATA_BUILDLINK3_MK
BUILDLINK_TREE+= -gcloud-golang-metadata