summaryrefslogtreecommitdiffstats
path: root/games/blockade/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/blockade/files/patch-Makefile')
-rw-r--r--games/blockade/files/patch-Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/blockade/files/patch-Makefile b/games/blockade/files/patch-Makefile
new file mode 100644
index 0000000..7c2444b
--- /dev/null
+++ b/games/blockade/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.orig Mon May 24 22:19:40 1999
++++ Makefile Fri Nov 24 14:47:40 2006
+@@ -1,7 +1,7 @@
+ # Add -I and -L options as necessary to make it find your X stuff....
+
+ #DESTDIR = /opt/blockade
+-DESTDIR = /usr/local
++DESTDIR = $(PREFIX)
+ BINDIR = $(DESTDIR)/bin
+ MANDIR = $(DESTDIR)/man/man6
+
+@@ -22,8 +22,8 @@
+ #LDFLAGS = -s -L/usr/lib/X11R4 -lX11
+
+ # Linux
+-CFLAGS = -DSYSV -I/usr/include/X11 -Wall
+-LDFLAGS = -L/usr/X11R6/lib -lX11
++CFLAGS += -I$(LOCALBASE)/include
++LDFLAGS = -L$(LOCALBASE)/lib -lX11
+
+ SOUND = blockade-snd.o
+ SOUNDH = blockade-snd.h
OpenPOWER on IntegriCloud