summaryrefslogtreecommitdiff
path: root/cad/chipmunk/files/patch-as
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-09-24 05:11:58 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-09-24 05:11:58 +0000
commit1512ff152b524d507307a6ff8d7be1910abd4f94 (patch)
treea9763e12488641b98384ec6e83b40ea66d026282 /cad/chipmunk/files/patch-as
parentUpdate to version 0.1.23 (diff)
Update to version 5.51
PR: 13902 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'cad/chipmunk/files/patch-as')
-rw-r--r--cad/chipmunk/files/patch-as38
1 files changed, 38 insertions, 0 deletions
diff --git a/cad/chipmunk/files/patch-as b/cad/chipmunk/files/patch-as
new file mode 100644
index 000000000000..448a8924fbfc
--- /dev/null
+++ b/cad/chipmunk/files/patch-as
@@ -0,0 +1,38 @@
+--- util/spc-tools/ss/Makefile.orig Wed Mar 12 02:47:27 1997
++++ util/spc-tools/ss/Makefile Tue Sep 21 03:40:50 1999
+@@ -18,7 +18,7 @@
+ #
+ # ss makefile
+
+-BINDIR= ../../../bin
++BINDIR= %%PREFIX%%/bin
+
+ ##
+ ## (1) Choosing your compiler
+@@ -46,7 +46,7 @@
+
+
+ CHIPMUNKCC = gcc
+-CC = $(CHIPMUNKCC)
++CC ?= $(CHIPMUNKCC)
+
+ ##
+ ## (2) Adding appropriate flags
+@@ -90,14 +90,14 @@
+ ## -m68040 : for 68040 and 68060
+ ##
+
+-CFLAGS =
++CFLAGS += -DBSD -DF_OK=0
+
+ ss: spice.o ss.o
+ $(CC) ss.o spice.o -o ss
+
+ install: ss
+- cp ss $(BINDIR)
+- cp test/ucbsim $(BINDIR)
++ install -c -s ss $(BINDIR)
++ install -c test/ucbsim $(BINDIR)
+
+ clean:
+ -rm -f *.o ss