summaryrefslogtreecommitdiff
path: root/cad/chipmunk/files/patch-ag
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-ag
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-ag')
-rw-r--r--cad/chipmunk/files/patch-ag37
1 files changed, 37 insertions, 0 deletions
diff --git a/cad/chipmunk/files/patch-ag b/cad/chipmunk/files/patch-ag
new file mode 100644
index 000000000000..759876d06716
--- /dev/null
+++ b/cad/chipmunk/files/patch-ag
@@ -0,0 +1,37 @@
+--- netcmp/Makefile.orig Wed Mar 12 02:41:59 1997
++++ netcmp/Makefile Mon Sep 20 06:53:59 1999
+@@ -22,7 +22,7 @@
+ #
+ # netcmp makefile
+
+-BINDIR= ../bin
++BINDIR= %%PREFIX%%/bin
+
+ ##
+ ## (1) Choosing your compiler
+@@ -48,7 +48,7 @@
+ ## For SGI, cc is recommended
+
+ CHIPMUNKCC = gcc
+-CC = $(CHIPMUNKCC)
++CC ?= $(CHIPMUNKCC)
+
+ ##
+ ## (2) Adding appropriate flags
+@@ -90,13 +90,13 @@
+ ## -ansi
+ ##
+
+-CFLAGS =
++CFLAGS += -DBSD -DF_OK
+
+ netcmp: main.o parser.o datastruct.o compare.o
+- $(CC) parser.o datastruct.o compare.o main.o -o netcmp
++ $(CC) parser.o datastruct.o compare.o main.o -lcompat -o netcmp
+
+ install: netcmp
+- cp netcmp $(BINDIR)
++ install -c -s netcmp $(BINDIR)
+
+ clean:
+ -rm -f *.o netcmp