summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/parabola-hackers/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/parabola-hackers/PKGBUILD b/libre/parabola-hackers/PKGBUILD
index d0230a2ab..6aae5c6ff 100644
--- a/libre/parabola-hackers/PKGBUILD
+++ b/libre/parabola-hackers/PKGBUILD
@@ -62,6 +62,17 @@ prepare() {
mv -v "$srcdir"/LICENSE* .
git submodule update --init
+
+ # FIXME: fix this upstream
+ # GOPATH='/build/parabola-hackers/src/parabola-hackers/go' AR='ar' CC='gcc -std=gnu99' CGO_ENABLED='1' go install nshd
+ # go install: version is required when current directory is not in a module
+ # Try 'go install nshd@latest' to install the latest version
+ # NOTE: this kludge is very brittle - it would (probably) fail if bins_go contained multiple items
+ # luckily, the golang 'nshd' is not likely to ever change
+ sed -i 's|$(go_env) go install $(bins_go)|$(go_env) go install $(bins_go)@latest|' Makefile
+ # FIXME: the above kludge did not work
+ # GOPATH='/build/parabola-hackers/src/parabola-hackers/go' AR='ar' CC='gcc -std=gnu99' CGO_ENABLED='1' go install nshd@latest
+ # go install nshd@latest: malformed module path "nshd": missing dot in first path element
}
build() {