summaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorcpiazza <cpiazza@FreeBSD.org>1999-09-24 05:24:20 +0000
committercpiazza <cpiazza@FreeBSD.org>1999-09-24 05:24:20 +0000
commitd32bfd6d4646151b90fd6877a554a2d544af4b92 (patch)
tree85cd89388c6211cfccc4ec2d9efd59ca41481302 /cad
parente82903ac64e79ba24f148614bce70da9301515c9 (diff)
downloadFreeBSD-ports-d32bfd6d4646151b90fd6877a554a2d544af4b92.zip
FreeBSD-ports-d32bfd6d4646151b90fd6877a554a2d544af4b92.tar.gz
Add two patches forgotten in ugprade to 5.51
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 0000000..4b56108
--- /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 0000000..59ce2396
--- /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
OpenPOWER on IntegriCloud