aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-03-21 15:23:36 +0100
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-03-21 15:23:36 +0100
commita9ed406cae3f6c4894be79a76b0b4768fb9ca15a (patch)
tree157010cba1de1e86685e153d2aa6a7fea608c259 /x11-libs/tr/files
parentmmtk Chnagelog added (diff)
downloadsci-a9ed406cae3f6c4894be79a76b0b4768fb9ca15a.tar.gz
sci-a9ed406cae3f6c4894be79a76b0b4768fb9ca15a.tar.bz2
sci-a9ed406cae3f6c4894be79a76b0b4768fb9ca15a.zip
x11-libs/tr added
Diffstat (limited to 'x11-libs/tr/files')
-rw-r--r--x11-libs/tr/files/1.3-Makefile.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-libs/tr/files/1.3-Makefile.patch b/x11-libs/tr/files/1.3-Makefile.patch
new file mode 100644
index 000000000..846209a94
--- /dev/null
+++ b/x11-libs/tr/files/1.3-Makefile.patch
@@ -0,0 +1,29 @@
+--- Makefile 2005-08-25 22:18:31.000000000 +0200
++++ Makefile.new 2009-03-21 15:11:55.000000000 +0100
+@@ -4,8 +4,8 @@
+ # You'll probably have to tweak this for your platform.
+
+
+-CC = cc
+-CFLAGS = -c -g -ansi -I/usr/local/include
++CC ?= gcc
++CFLAGS += -c -ansi -I/usr/include
+ LIBS = -L/usr/X11R6/lib -lglut -lGLU -lGL -lX11 -lXmu -lXext -lm
+
+
+@@ -19,13 +19,13 @@
+ $(CC) $(CFLAGS) tr.c
+
+ trdemo1: trdemo1.o tr.o
+- $(CC) trdemo1.o tr.o $(LIBS) -o $@
++ $(CC) $(LDFLAGS) trdemo1.o tr.o $(LIBS) -o $@
+
+ trdemo1.o: trdemo1.c tr.h
+ $(CC) $(CFLAGS) trdemo1.c
+
+ trdemo2: trdemo2.o tr.o
+- $(CC) trdemo2.o tr.o $(LIBS) -o $@
++ $(CC) $(LDFLAGS) trdemo2.o tr.o $(LIBS) -o $@
+
+ trdemo2.o: trdemo2.c tr.h
+ $(CC) $(CFLAGS) trdemo2.c