summaryrefslogtreecommitdiff
path: root/games/icbm3d/patches
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-07-24 11:41:06 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-07-24 11:41:06 +0000
commit028d52b7e36e92b3cb26fd9514bb079507737314 (patch)
tree02d48eecd642aead118aafb3b3f4ff5235556f54 /games/icbm3d/patches
parent6317e87f7dc4f94a13a73c6f583d08aa12bb0e0a (diff)
downloadpkgsrc-028d52b7e36e92b3cb26fd9514bb079507737314.tar.gz
Initial addition of icbm3d-0.3, a 3D X11 game of defense.
Closes pr 5826 by Tim Rightnour.
Diffstat (limited to 'games/icbm3d/patches')
-rw-r--r--games/icbm3d/patches/patch-aa71
1 files changed, 71 insertions, 0 deletions
diff --git a/games/icbm3d/patches/patch-aa b/games/icbm3d/patches/patch-aa
new file mode 100644
index 00000000000..08060628e50
--- /dev/null
+++ b/games/icbm3d/patches/patch-aa
@@ -0,0 +1,71 @@
+--- makefile.orig Wed Mar 18 19:54:27 1998
++++ makefile Fri Jul 24 02:18:44 1998
+@@ -14,2 +14,3 @@
+
++INSTALLROOT=$(PREFIX)
+
+@@ -25,3 +26,3 @@
+
+-XLIB=-lX11
++#XLIB=-lX11
+
+@@ -38,4 +39,4 @@
+
+-# XLIB=-L /usr/X11R6/lib -lX11 -lcompat
+-# CFLAGS=-I/usr/X11/include
++XLIB= -R$(INSTALLROOT)/lib -L$(INSTALLROOT)/lib -lX11 #-lcompat
++CFLAGS=-I$(INSTALLROOT)/include
+
+@@ -54,5 +55,7 @@
+
++install:
++ install -g bin -o bin -m 0755 icbm3d $(INSTALLROOT)/bin
+
+-OBJECTS=icbm3d.o window.o connect.o hints.o visual.o gc.o color.o randnum.o \
+- text.o
++SRCS= icbm3d.c window.c connect.c hints.c visual.c gc.o color.c randnum.c text.c
++OBJS= ${SRCS:.c=.o}
+
+@@ -60,4 +63,4 @@
+
+-icbm3d: $(OBJECTS)
+- $(CC) $(OBJECTS) $(XLIB) $(MATHLIB) $(CFLAGS) -o icbm3d
++icbm3d: $(OBJS)
++ $(CC) $(OBJECTS) $(XLIB) $(MATHLIB) $(CFLAGS) -o $@ $(OBJS)
+ chmod 755 icbm3d
+@@ -66,3 +69,3 @@
+
+-# Application objects:
++#dependencies
+
+@@ -70,28 +73,9 @@
+ randnum.h text.h
+-
+-
+-# Library objects:
+-
+ window.o: window.c window.h
+- $(CC) window.c -c
+-
+ connect.o: connect.c connect.h
+- $(CC) connect.c -c
+-
+ hints.o: hints.c hints.h
+- $(CC) hints.c -c
+-
+ visual.o: visual.c visual.h
+- $(CC) visual.c -c
+-
+-gc.o: gc.c gc.h
+- $(CC) gc.c -c
+-
++gc.o: gc.c gc.h
+ color.o: color.c color.h
+- $(CC) color.c -c
+-
+ randnum.o: randnum.c randnum.h
+- $(CC) randnum.c -c
+-
+-text.o: text.c text.h
+- $(CC) text.c -c
++text.o: text.c text.h