summaryrefslogtreecommitdiff
path: root/cad/chipmunk/files/patch-ag
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-21 03:30:49 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-21 03:30:49 +0000
commit797d6cd4f11b3c112c77121ee5102c7bded3374e (patch)
tree7104984b31cf47c1c4f7210a3a54cb23f04fd409 /cad/chipmunk/files/patch-ag
parentupgrade to 1.0.5 (diff)
upgrade to 5.59
PR: 38227 Submitted by: Ports Fury
Diffstat (limited to 'cad/chipmunk/files/patch-ag')
-rw-r--r--cad/chipmunk/files/patch-ag20
1 files changed, 12 insertions, 8 deletions
diff --git a/cad/chipmunk/files/patch-ag b/cad/chipmunk/files/patch-ag
index 759876d06716..b132f5ab37bb 100644
--- a/cad/chipmunk/files/patch-ag
+++ b/cad/chipmunk/files/patch-ag
@@ -1,37 +1,41 @@
---- netcmp/Makefile.orig Wed Mar 12 02:41:59 1997
-+++ netcmp/Makefile Mon Sep 20 06:53:59 1999
+--- netcmp/Makefile.orig Sat Aug 18 07:49:31 2001
++++ netcmp/Makefile Sat May 18 14:46:26 2002
@@ -22,7 +22,7 @@
#
# netcmp makefile
-BINDIR= ../bin
-+BINDIR= %%PREFIX%%/bin
++BINDIR= ${PREFIX}/bin
##
## (1) Choosing your compiler
@@ -48,7 +48,7 @@
## For SGI, cc is recommended
- CHIPMUNKCC = gcc
+ CHIPMUNKCC = gcc -O3
-CC = $(CHIPMUNKCC)
+CC ?= $(CHIPMUNKCC)
##
## (2) Adding appropriate flags
-@@ -90,13 +90,13 @@
+@@ -90,15 +90,17 @@
## -ansi
##
--CFLAGS =
++OTHERLIBS = -lcompat
++
+ CHIPMUNKFLAGS =
+
+-CFLAGS = $(CHIPMUNKFLAGS)
+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
++ $(CC) parser.o datastruct.o compare.o main.o $(OTHERLIBS) -o netcmp
install: netcmp
- cp netcmp $(BINDIR)
-+ install -c -s netcmp $(BINDIR)
++ ${BSD_INSTALL_PROGRAM} netcmp $(BINDIR)
clean:
-rm -f *.o netcmp