summaryrefslogtreecommitdiff
path: root/graphics/tcm/patches/patch-ay
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/tcm/patches/patch-ay')
-rw-r--r--graphics/tcm/patches/patch-ay28
1 files changed, 28 insertions, 0 deletions
diff --git a/graphics/tcm/patches/patch-ay b/graphics/tcm/patches/patch-ay
new file mode 100644
index 00000000000..a0f01652bed
--- /dev/null
+++ b/graphics/tcm/patches/patch-ay
@@ -0,0 +1,28 @@
+$NetBSD: patch-ay,v 1.1 2001/05/10 23:35:28 jtb Exp $
+
+--- gl/Makefile.orig Wed Dec 20 13:32:38 2000
++++ gl/Makefile
+@@ -28,17 +28,15 @@
+ version.o
+
+ text2ps.o:
+- $(Cc) -c text2ps.c
++ $(CC) $(CPPFLAGS) $(CFLAGS) -c text2ps.c
+
+ text2ps: text2ps.o
+- $(Cc) text2ps.o -o $@
+- chmod a+rx $@
+- $(MV) $@ $(BIN_DIR)
++ $(CC) text2ps.o -o $@
++ $(MV) -f $@ $(BIN_DIR)
+
+-libglobal.a: $(OBJECTS)
+- $(AR) $@ $(OBJECTS)
+- chmod a+rx $@
+- $(MV) $@ $(LIB_DIR)
++libtcmglobal.a: $(OBJECTS)
++ $(AR) cr $@ $(OBJECTS)
++ $(MV) -f $@ $(LIB_DIR)
+
+ libglobal.so: $(OBJECTS)
+ $(CC) $(CFLAGS) $(SHAREDFLAG) $(OBJECTS) -o $@