version 1.15, 2017/03/20 22:53:45 |
version 1.20, 2018/03/30 11:56:24 |
|
|
# $NetBSD$ |
# $NetBSD$ |
|
|
DISTNAME= go-net-20170308 |
DISTNAME= go-net-20170308 |
|
PKGREVISION= 3 |
CATEGORIES= net |
CATEGORIES= net |
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/} |
MASTER_SITES= ${MASTER_SITE_GITHUB:=golang/} |
GITHUB_PROJECT= net |
GITHUB_PROJECT= net |
Line 14 LICENSE= modified-bsd |
|
Line 15 LICENSE= modified-bsd |
|
GO_SRCPATH= golang.org/x/net |
GO_SRCPATH= golang.org/x/net |
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}* |
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}* |
|
|
|
CHECK_RELRO_SKIP+= bin/h2i |
|
|
.include "../../mk/bsd.prefs.mk" |
.include "../../mk/bsd.prefs.mk" |
|
|
PLIST_VARS+= notsunos |
PLIST_VARS+= h2i route |
|
|
.if ${OPSYS} != "SunOS" |
.if ${OPSYS} == "SunOS" |
# route support is not yet implemented for sunos |
# route support is not yet implemented for sunos |
# h2i is missing terminal.MakeRaw and terminal.Restore |
# h2i is missing terminal.MakeRaw and terminal.Restore |
PLIST.notsunos= yes |
.elif ${OPSYS} == "Linux" |
|
PLIST.h2i= yes |
|
.else |
|
PLIST.h2i= yes |
|
PLIST.route= yes |
.endif |
.endif |
|
|
.include "../../textproc/go-text/buildlink3.mk" |
.include "../../textproc/go-text/buildlink3.mk" |