Skip to content

Commit

Permalink
security/keybase: Convert REINPLACE_CMD to patch file
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed May 11, 2021
1 parent 931ef78 commit 37bea08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 0 additions & 3 deletions security/keybase/Makefile
Expand Up @@ -19,7 +19,4 @@ WRKSRC= ${WRKDIR}/client-v${PORTVERSION}/go

PLIST_FILES= bin/git-remote-keybase bin/kbfsfuse bin/kbfstool bin/keybase

post-patch:
@${REINPLACE_CMD} -e '/+build/ s|,amd64||' ${WRKSRC}/vendor/github.com/keybase/go-ps/process_freebsd.go

.include <bsd.port.mk>
@@ -0,0 +1,8 @@
--- vendor/github.com/keybase/go-ps/process_freebsd.go.orig 2021-01-25 16:28:40 UTC
+++ vendor/github.com/keybase/go-ps/process_freebsd.go
@@ -1,4 +1,4 @@
-// +build freebsd,amd64
+// +build freebsd

package ps

0 comments on commit 37bea08

Please sign in to comment.