summaryrefslogtreecommitdiff
path: root/community/dgen-sdl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/dgen-sdl/PKGBUILD')
-rw-r--r--community/dgen-sdl/PKGBUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/dgen-sdl/PKGBUILD b/community/dgen-sdl/PKGBUILD
new file mode 100644
index 00000000..b90dba4c
--- /dev/null
+++ b/community/dgen-sdl/PKGBUILD
@@ -0,0 +1,9 @@
+# nasm: error: more than one input file specified
+# the -- is the problem, patching it out of Makefiles to avoid retooling
+
+eval "$(
+ declare -f build | \
+ sed '
+ 4 a find . -name Makefile -exec sed -i "/nasm/s/--//g" {} \\;
+ '
+)"