aboutsummaryrefslogtreecommitdiffstats
path: root/devel/avltree/files
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-10-19 16:45:27 +0800
committerkris <kris@FreeBSD.org>2003-10-19 16:45:27 +0800
commit56aeb1d353caa7bdba5b28d2e06dff5a52cc0b02 (patch)
tree66db362b2d3683b856d9d9c5807ba675b0d58426 /devel/avltree/files
parent64a7f642500119e0ea1c3e720036235a6d8abd41 (diff)
downloadfreebsd-ports-gnome-56aeb1d353caa7bdba5b28d2e06dff5a52cc0b02.tar.gz
freebsd-ports-gnome-56aeb1d353caa7bdba5b28d2e06dff5a52cc0b02.tar.zst
freebsd-ports-gnome-56aeb1d353caa7bdba5b28d2e06dff5a52cc0b02.zip
Respect CC and CFLAGS
Diffstat (limited to 'devel/avltree/files')
-rw-r--r--devel/avltree/files/patch-aa39
1 files changed, 35 insertions, 4 deletions
diff --git a/devel/avltree/files/patch-aa b/devel/avltree/files/patch-aa
index e457595e7505..3c3177637387 100644
--- a/devel/avltree/files/patch-aa
+++ b/devel/avltree/files/patch-aa
@@ -1,11 +1,42 @@
---- Makefile.orig Sun Jan 23 15:00:51 2000
-+++ Makefile Sun Jan 23 15:00:56 2000
-@@ -3,7 +3,7 @@
+--- Makefile.orig Thu Jan 13 13:04:47 2000
++++ Makefile Sun Oct 19 01:44:36 2003
+@@ -3,7 +3,8 @@
# Date created: 13 January 2000
# Whom: Bill Ross <bross@nas.nasa.gov> <ross@cgl.ucsf.edu>
#
-CC= cc
-+CC?= cc
++CC?= cc
++CFLAGS?= -O -pipe
all: libavltree.a
+@@ -12,7 +13,7 @@
+ strip libavltree.a
+
+ avltree.o: avltree.c avltree.h
+- $(CC) -c avltree.c
++ $(CC) $(CFLAGS) -c avltree.c
+
+ install: libavltree.a
+ install -c libavltree.a $(PREFIX)/lib
+@@ -25,16 +26,16 @@
+ extras: test bench1 bench2
+
+ test: test.o libavltree.a
+- $(CC) -o test test.o libavltree.a
++ $(CC) $(CFLAGS) -o test test.o libavltree.a
+
+ bench1: avl_bench.o libavltree.a
+- $(CC) -o bench1 avl_bench.o libavltree.a
++ $(CC) $(CFLAGS) -o bench1 avl_bench.o libavltree.a
+
+ bench2: avl_bench.o db_avl.o
+- $(CC) -o bench2 avl_bench.o db_avl.o
++ $(CC) $(CFLAGS) -o bench2 avl_bench.o db_avl.o
+
+ bench3: avl_bench.o bp_avl.o
+- $(CC) -o bench3 avl_bench.o bp_avl.o bplus.a
++ $(CC) $(CFLAGS) -o bench3 avl_bench.o bp_avl.o bplus.a
+
+ #
+ ##################