pkgsrc/devel/go-protobuf/Makefile
wiz 0fd193c72e Sprinkle CHECK_RELRO_SKIP on go packages.
go14 has no relro support AFAICT.

go-1.8.3 has if you use -buildmode=pie, but it claims it's not supported
on Linux.

Disable relro checking for go packages until bsiegert has time to
look at this.
2017-07-22 19:32:40 +00:00

22 lines
561 B
Makefile

# $NetBSD: Makefile,v 1.6 2017/07/22 19:32:40 wiz Exp $
DISTNAME= go-protobuf-20160829
PKGREVISION= 4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
GITHUB_PROJECT= protobuf
GITHUB_TAG= 1f49d83
HOMEPAGE= http://godoc.org/${GO_SRCPATH}
COMMENT= Go support for Google protocol buffers
LICENSE= modified-bsd
GO_SRCPATH= github.com/golang/protobuf
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*
REPLACE_SH+= ptypes/regen.sh
CHECK_RELRO_SKIP+= bin/protoc-gen-go
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"