- Allow build on archs besides amd64

PR:		214970 (based on)
Submitted by:	<bob@eager.cx>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-12-04 11:10:06 +00:00
parent 0c5aea664b
commit 98912b8c7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427774

View file

@ -11,9 +11,6 @@ COMMENT= Keybase.io client
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/../LICENSE
# https://github.com/keybase/go-ps/blob/master/process_freebsd.go#L1
ONLY_FOR_ARCHS= amd64
GO_PKGNAME= github.com/keybase/client/go
GO_TARGET= -tags production ${GO_PKGNAME}/keybase
USES= go
@ -24,4 +21,7 @@ PLIST_FILES= bin/keybase
GH_PROJECT= client
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e '1 s|,amd64||' ${WRKSRC}/vendor/github.com/keybase/go-ps/process_freebsd.go
.include <bsd.port.mk>