summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-09-24 05:24:20 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-09-24 05:24:20 +0000
commit5909c3b9782e612faf5594da4180a1dc4c9ef412 (patch)
tree298a20b391e44d8258f184296641c1da9a457b8d /cad
parentUpdate to version 5.51 (diff)
Add two patches forgotten in ugprade to 5.51
Notes
Notes: svn path=/head/; revision=21908
Diffstat (limited to 'cad')
-rw-r--r--cad/chipmunk/files/patch-ao17
-rw-r--r--cad/chipmunk/files/patch-ap37
2 files changed, 54 insertions, 0 deletions
diff --git a/cad/chipmunk/files/patch-ao b/cad/chipmunk/files/patch-ao
new file mode 100644
index 000000000000..4b561081cf9e
--- /dev/null
+++ b/cad/chipmunk/files/patch-ao
@@ -0,0 +1,17 @@
+--- util/conscripts/Makefile.orig Wed Mar 12 02:47:25 1997
++++ util/conscripts/Makefile Tue Sep 21 03:36:32 1999
+@@ -18,11 +18,11 @@
+ #
+ # mconvert makefile
+
+-BINDIR= ../../bin
++BINDIR= %%PREFIX%%/bin
+
+ install:
+- cp mconvert $(BINDIR)
+- cp unmconvert $(BINDIR)
++ install -c mconvert $(BINDIR)
++ install -c unmconvert $(BINDIR)
+
+ clean:
+ -rm -f *.o
diff --git a/cad/chipmunk/files/patch-ap b/cad/chipmunk/files/patch-ap
new file mode 100644
index 000000000000..59ce239624d2
--- /dev/null
+++ b/cad/chipmunk/files/patch-ap
@@ -0,0 +1,37 @@
+--- util/sctomat/Makefile.orig Wed Mar 12 02:47:26 1997
++++ util/sctomat/Makefile Tue Sep 21 03:37:35 1999
+@@ -5,7 +5,7 @@
+ #
+ # sctomat makefile
+
+-BINDIR= ../../bin
++BINDIR= %%PREFIX%%/bin
+
+ ##
+ ## (1) Choosing your compiler
+@@ -32,7 +32,7 @@
+ ##
+
+ CHIPMUNKCC = gcc
+-CC = $(CHIPMUNKCC)
++CC ?= $(CHIPMUNKCC)
+
+ ##
+ ## (2) Adding appropriate flags
+@@ -76,13 +76,13 @@
+ ## -m68040 : for 68040 and 68060
+ ##
+
+-CFLAGS =
++CFLAGS += -DBSD -DF_OK=0
+
+-scope_to_mat: savemat.o scope_to_mat.o
++all: savemat.o scope_to_mat.o
+ $(CC) savemat.o scope_to_mat.o -lm -o scope_to_mat
+
+ install: scope_to_mat
+- cp scope_to_mat $(BINDIR)
++ install -c -s scope_to_mat $(BINDIR)
+
+ clean:
+ -rm -f *.o scope_to_mat