summaryrefslogtreecommitdiff
path: root/lang/sather/patches/patch-bb
diff options
context:
space:
mode:
Diffstat (limited to 'lang/sather/patches/patch-bb')
-rw-r--r--lang/sather/patches/patch-bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/sather/patches/patch-bb b/lang/sather/patches/patch-bb
new file mode 100644
index 00000000000..b8ff1f1f93b
--- /dev/null
+++ b/lang/sather/patches/patch-bb
@@ -0,0 +1,13 @@
+$NetBSD: patch-bb,v 1.1 2006/01/12 00:05:04 joerg Exp $
+
+--- System/Common/Makefile.orig 1999-10-21 22:26:32.000000000 +0000
++++ System/Common/Makefile
+@@ -33,7 +33,7 @@ CONFIG: Makefile ../../Makefile CONFIG.p
+ @echo "-- in the top level Makefile. Please do not edit it" >> $(TMPFILE)
+ @echo "#define CONFIG_DEFAULT_PLATFORM \"$(DEFAULT_PLATFORM)\"" >> $(TMPFILE)
+ @echo -n "#define CONFIG_PLATFORMS \"" >> $(TMPFILE)
+- @echo -n $(PLATFORMS) | sed "s/ //;s/,/\",\"/" >> $(TMPFILE)
++ @echo $(PLATFORMS) | sed "s/ //;s/,/\",\"/" | sed 's/$$/\\/' >> $(TMPFILE)
+ @echo "\"" >> $(TMPFILE)
+ @echo "#include \"CONFIG.proto\"" >> $(TMPFILE)
+ @$(CPP) -undef $(TMPFILE) > CONFIG