[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / go-net

File: [cvs.NetBSD.org] / pkgsrc / net / go-net / Makefile (download)

Revision 1.17, Sat Jul 22 19:32:41 2017 UTC (19 months, 4 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-
Branch point for: pkgsrc-2017Q4
Changes since 1.16: +3 -1 lines

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.

# $NetBSD: Makefile,v 1.17 2017/07/22 19:32:41 wiz Exp $

DISTNAME=		go-net-20170308
PKGREVISION=		1
CATEGORIES=		net
MASTER_SITES=		${MASTER_SITE_GITHUB:=golang/}
GITHUB_PROJECT=		net
GITHUB_TAG=		a6577fa

MAINTAINER=		bsiegert@NetBSD.org
HOMEPAGE=		http://golang.org/
COMMENT=		Supplementary network libraries for Go
LICENSE=		modified-bsd

GO_SRCPATH=		golang.org/x/net
GO_DIST_BASE=		${GITHUB_PROJECT}-${GITHUB_TAG}*

CHECK_RELRO_SKIP+=	bin/h2i

.include "../../mk/bsd.prefs.mk"

PLIST_VARS+=	notsunos

.if ${OPSYS} != "SunOS"
# route support is not yet implemented for sunos
# h2i is missing terminal.MakeRaw and terminal.Restore
PLIST.notsunos=	yes
.endif

.include "../../textproc/go-text/buildlink3.mk"
.include "../../security/go-crypto/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"