aboutsummaryrefslogtreecommitdiffstats
path: root/security/keybase
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-12-04 19:10:06 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-12-04 19:10:06 +0800
commitdd7af59b28d4ecb80ecb6a60b84659f6057f6820 (patch)
tree33faa244f2f2b6aca9314d117a43820f893d784a /security/keybase
parent75882ade0b29ca43271ca4bd60f54ed6bf5234ea (diff)
downloadfreebsd-ports-gnome-dd7af59b28d4ecb80ecb6a60b84659f6057f6820.tar.gz
freebsd-ports-gnome-dd7af59b28d4ecb80ecb6a60b84659f6057f6820.tar.zst
freebsd-ports-gnome-dd7af59b28d4ecb80ecb6a60b84659f6057f6820.zip
- Allow build on archs besides amd64
PR: 214970 (based on) Submitted by: <bob@eager.cx>
Diffstat (limited to 'security/keybase')
-rw-r--r--security/keybase/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/keybase/Makefile b/security/keybase/Makefile
index 2c3a77d1d19d..3987892391c7 100644
--- a/security/keybase/Makefile
+++ b/security/keybase/Makefile
@@ -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>