aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-04-07 03:53:17 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2021-04-07 04:20:01 +0000
commit7b1d905b03cc85d834d5cba7df8ab22f9f51e0ca (patch)
treefd2b5e9b842cc0e0f1db697a8aba338fcb1aeb9a
parent6428be4064828417c59ea99b98fa5ef404f70e25 (diff)
downloadports-7b1d905b03cc85d834d5cba7df8ab22f9f51e0ca.tar.gz
ports-7b1d905b03cc85d834d5cba7df8ab22f9f51e0ca.zip
sysutils/fluxengine: Unbreak build with devel/samurai (D29353)
It does not like the extra whitespace which might be a bug in samurai but for now just remove it and fix the build. MKNINJA .obj/build.ninja ninja: .obj/build.ninja:6:5: expected name PR: 254678
-rw-r--r--sysutils/fluxengine/files/patch-mkninja.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/fluxengine/files/patch-mkninja.sh b/sysutils/fluxengine/files/patch-mkninja.sh
new file mode 100644
index 000000000000..41cdc6e254b3
--- /dev/null
+++ b/sysutils/fluxengine/files/patch-mkninja.sh
@@ -0,0 +1,17 @@
+Fix ninja generator
+
+devel/samurai does not like the extra whitespace:
+
+ninja: .obj/build.ninja:6:5: expected name
+
+--- mkninja.sh.orig 2021-03-31 12:47:37 UTC
++++ mkninja.sh
+@@ -7,7 +7,7 @@ rule cxx
+ description = CXX \$in
+ depfile = \$out.d
+ deps = gcc
+-
++
+ rule library
+ command = $AR \$out \$in
+ description = AR \$in