aboutsummaryrefslogtreecommitdiff
path: root/lang/cbmbasic/files/patch-Makefile
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2020-08-31 12:22:32 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2020-08-31 12:22:32 +0000
commit535f9e100c4a95dcb55bae39c5a4a8d9411abfc2 (patch)
treec844d3fc7e19f716728bdbd8bee586d6c77bb3fe /lang/cbmbasic/files/patch-Makefile
parent726a625368f87bac87eb3bdddc344ee2dbea4080 (diff)
downloadports-535f9e100c4a95dcb55bae39c5a4a8d9411abfc2.tar.gz
ports-535f9e100c4a95dcb55bae39c5a4a8d9411abfc2.zip
Fix build ("ld: error: duplicate symbol: RAM").
Notes
Notes: svn path=/head/; revision=547170
Diffstat (limited to 'lang/cbmbasic/files/patch-Makefile')
-rw-r--r--lang/cbmbasic/files/patch-Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/cbmbasic/files/patch-Makefile b/lang/cbmbasic/files/patch-Makefile
new file mode 100644
index 000000000000..f1153ee96805
--- /dev/null
+++ b/lang/cbmbasic/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- Makefile.orig 2014-12-06 23:57:18 UTC
++++ Makefile
+@@ -1,10 +1,9 @@
+ OBJS=cbmbasic.o runtime.o plugin.o console.o
+-CFLAGS=-Wall -O3
+
+ all: cbmbasic
+
+ cbmbasic: $(OBJS)
+- $(CC) -o cbmbasic $(OBJS)
++ $(CC) $(CFLAGS) -o cbmbasic $(OBJS)
+
+ clean:
+ rm -f $(OBJS) cbmbasic