summaryrefslogtreecommitdiff
path: root/net/syncthing
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-07-28 09:03:25 +0000
committerwiz <wiz@pkgsrc.org>2018-07-28 09:03:25 +0000
commitbf15e91af0a18a2f72af46d54d4801b9a66890cf (patch)
treea9d8ee7093aa3865f04e69a753f1e812261018ad /net/syncthing
parent4b9c3175e1aec5e56a08554b94da5aa82c5532f2 (diff)
downloadpkgsrc-bf15e91af0a18a2f72af46d54d4801b9a66890cf.tar.gz
syncthing: fix more go paths after update.
From abs@
Diffstat (limited to 'net/syncthing')
-rw-r--r--net/syncthing/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/syncthing/Makefile b/net/syncthing/Makefile
index 7c5c839195b..52c8e863adb 100644
--- a/net/syncthing/Makefile
+++ b/net/syncthing/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2018/07/25 21:30:45 abs Exp $
+# $NetBSD: Makefile,v 1.74 2018/07/28 09:03:25 wiz Exp $
# Upstream regularly breaks protocol compatibility. While users of
# pkgsrc syncthing on multiple systems can update synchronously, an
@@ -71,6 +71,11 @@ SUBST_SED.version= -e 's|runError("git", "describe", "--always", "--dirty")|runE
SUBST_SED.version+= -e 's|runError("git", "show", "-s", "--format=%ct")|runError("false")|'
SUBST_SED.version+= -e 's|"go"|"${GO}"|'
+SUBST_CLASSES+= go
+SUBST_STAGE.go= pre-build
+SUBST_MESSAGE.go= Fixing go executable reference
+SUBST_FILES.go= lib/auto/doc.go cmd/strelaypoolsrv/auto/doc.go
+SUBST_SED.go+= -e 's|go run|"${GO}" run|'
# Create WRKPLACE's parent, but not WRKPLACE. Move the contents of
# the distribution tarball to the directory name desired by upstream's