2017-07-22 21:32:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2017/07/22 19:32:41 wiz Exp $
|
2015-03-10 22:28:45 +01:00
|
|
|
|
2017-03-16 20:14:19 +01:00
|
|
|
DISTNAME= go-net-20170308
|
2017-04-13 17:12:03 +02:00
|
|
|
PKGREVISION= 1
|
2015-03-10 22:28:45 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/}
|
2015-03-12 21:55:48 +01:00
|
|
|
GITHUB_PROJECT= net
|
2017-03-16 20:14:19 +01:00
|
|
|
GITHUB_TAG= a6577fa
|
2015-03-10 22:28:45 +01:00
|
|
|
|
|
|
|
MAINTAINER= bsiegert@NetBSD.org
|
|
|
|
HOMEPAGE= http://golang.org/
|
|
|
|
COMMENT= Supplementary network libraries for Go
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
|
|
|
GO_SRCPATH= golang.org/x/net
|
2015-03-12 21:55:48 +01:00
|
|
|
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*
|
2015-03-10 22:28:45 +01:00
|
|
|
|
2017-07-22 21:32:40 +02:00
|
|
|
CHECK_RELRO_SKIP+= bin/h2i
|
|
|
|
|
2016-12-10 20:07:20 +01:00
|
|
|
.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
|
|
|
|
|
2015-03-10 22:28:45 +01:00
|
|
|
.include "../../textproc/go-text/buildlink3.mk"
|
2017-03-20 23:53:45 +01:00
|
|
|
.include "../../security/go-crypto/buildlink3.mk"
|
2015-03-10 22:28:45 +01:00
|
|
|
.include "../../lang/go/go-package.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|