diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-09-24 05:11:58 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-09-24 05:11:58 +0000 |
commit | 1512ff152b524d507307a6ff8d7be1910abd4f94 (patch) | |
tree | a9763e12488641b98384ec6e83b40ea66d026282 /cad/chipmunk/files/patch-al | |
parent | Update 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-al')
-rw-r--r-- | cad/chipmunk/files/patch-al | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/cad/chipmunk/files/patch-al b/cad/chipmunk/files/patch-al new file mode 100644 index 000000000000..8f4b4a5542eb --- /dev/null +++ b/cad/chipmunk/files/patch-al @@ -0,0 +1,50 @@ +--- util/boxify/Makefile.orig Wed Mar 12 02:47:23 1997 ++++ util/boxify/Makefile Tue Sep 21 21:29:44 1999 +@@ -21,7 +21,7 @@ + # + # boxify makefile + +-BINDIR= ../../bin ++BINDIR= %%PREFIX%%/bin + + ## + ## (1) Choosing your compiler +@@ -48,7 +48,7 @@ + ## + + CHIPMUNKCC = gcc +-CC = $(CHIPMUNKCC) ++CC ?= $(CHIPMUNKCC) + + ## + ## (2) Adding appropriate flags +@@ -92,7 +92,7 @@ + ## -m68040 : for 68040 and 68060 + ## + +-CFLAGS = ++CFLAGS += -DBSD -DF_OK=0 + + TRAPESSRC = trapes/edges.c trapes/findnext.c trapes/mates.c \ + trapes/delete.c trapes/gentrapes.c trapes/trapes.c +@@ -102,16 +102,16 @@ + + INCLUDES = trapes/poly.h trapes/trapes.h p2c.h boxify.h + +-boxify: boxify.o +- (cd trapes; make) ++all: boxify.o ++ (cd trapes; $(MAKE) all) + $(CC) -o boxify boxify.o $(TRAPESOBJ) -lm + + + install: boxify +- cp boxify $(BINDIR) ++ install -c -s boxify $(BINDIR) + + clean: +- (cd trapes; make clean) ++ (cd trapes; $(MAKE) clean) + -rm -f *.o boxify + + #tar: $(INCLUDES) $(TRAPESSRC) boxify.c boxify.1 Makefile |