Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2016 11:10:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427774 - head/security/keybase
Message-ID:  <201612041110.uB4BA7De058560@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Dec  4 11:10:06 2016
New Revision: 427774
URL: https://svnweb.freebsd.org/changeset/ports/427774

Log:
  - Allow build on archs besides amd64
  
  PR:		214970 (based on)
  Submitted by:	<bob@eager.cx>

Modified:
  head/security/keybase/Makefile

Modified: head/security/keybase/Makefile
==============================================================================
--- head/security/keybase/Makefile	Sun Dec  4 10:54:06 2016	(r427773)
+++ head/security/keybase/Makefile	Sun Dec  4 11:10:06 2016	(r427774)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612041110.uB4BA7De058560>