summaryrefslogtreecommitdiff
path: root/games/battalion/patches
diff options
context:
space:
mode:
authorgarbled <garbled>1998-08-27 14:06:07 +0000
committergarbled <garbled>1998-08-27 14:06:07 +0000
commitcc91b7759be8b686be6a3fa5616ef788b2c0cb91 (patch)
tree3115d0a8e4b3ee5696c7b5301ba6b7da2728485f /games/battalion/patches
parent0dc39cee3c4336b62998dc9ad0d88e3e191fc9da (diff)
downloadpkgsrc-cc91b7759be8b686be6a3fa5616ef788b2c0cb91.tar.gz
Remove a ton of cruft relating to ELF building of pkgs. The trick I had
previously used with OBJECT_FMT is not necc. with the revelation that -Wl,-R works. Also fixed alot of PREFIX -> X11BASE typos.
Diffstat (limited to 'games/battalion/patches')
-rw-r--r--games/battalion/patches/patch-aa6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/battalion/patches/patch-aa b/games/battalion/patches/patch-aa
index 7818dffa4e4..5265e35472b 100644
--- a/games/battalion/patches/patch-aa
+++ b/games/battalion/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 10:40:38 agc Exp $
+$NetBSD: patch-aa,v 1.3 1998/08/27 14:06:09 garbled Exp $
--- Makefile.orig Thu Jan 16 09:31:58 1997
+++ Makefile Sat Jul 25 09:22:54 1998
@@ -31,14 +31,14 @@ $NetBSD: patch-aa,v 1.2 1998/08/07 10:40:38 agc Exp $
# ------------------------------------------------------------
-CFLAGS = -O -I/usr/local/X11/include -I/usr/demo/SOUND/ -I./.
-
-+CFLAGS = -O $(DEFS) -I$(PREFIX)/include -I./.
++CFLAGS = -O $(DEFS) -I$(X11BASE)/include -I./.
+DATADIR = $(PREFIX)/share/battalion/
+DEFS = -DDATADIR=\"$(DATADIR)\"
@@ -99,3 +100,3 @@
# ------------------------------------------------------------
-LIBFLAGS =
-+LIBFLAGS = $(RPATH) -L$(PREFIX)/lib -lcompat
++LIBFLAGS = -Wl,-R$(X11BASE)/lib -L$(X11BASE)/lib -lcompat
@@ -117,2 +118,4 @@
$(CC) -o $(TARGET) $(OBJ) $(LIBFLAGS) $(GLIB) $(LIBS) $(AUDIOLIB)