git: 37bea0822892 - main - security/keybase: Convert REINPLACE_CMD to patch file
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue May 11 21:51:41 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=37bea0822892d0d7390729377c44a5fdee9b29d2
commit 37bea0822892d0d7390729377c44a5fdee9b29d2
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-05-11 21:15:04 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-05-11 21:47:00 +0000
security/keybase: Convert REINPLACE_CMD to patch file
---
security/keybase/Makefile | 3 ---
.../patch-vendor-github.com-keybase-go-ps-process_freebsd.go | 8 ++++++++
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/security/keybase/Makefile b/security/keybase/Makefile
index d9fe58b05544..3ce1fbba8b10 100644
--- a/security/keybase/Makefile
+++ b/security/keybase/Makefile
@@ -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>
diff --git a/security/keybase/files/patch-vendor-github.com-keybase-go-ps-process_freebsd.go b/security/keybase/files/patch-vendor-github.com-keybase-go-ps-process_freebsd.go
new file mode 100644
index 000000000000..f0e6ad2d665a
--- /dev/null
+++ b/security/keybase/files/patch-vendor-github.com-keybase-go-ps-process_freebsd.go
@@ -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
+
More information about the dev-commits-ports-all
mailing list