summaryrefslogtreecommitdiff
path: root/games/xbomber/patches
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-08-14 11:26:45 +0000
committerfrueauf <frueauf>1998-08-14 11:26:45 +0000
commit3ac8e941a393edad93fc8e7c86c1ddc7d0ff8c1c (patch)
tree0f57b0667e2ee974ab68fb4bd18d4b08143473df /games/xbomber/patches
parent9092edd0e961e97aaf836965aa56dc0a572c05d0 (diff)
downloadpkgsrc-3ac8e941a393edad93fc8e7c86c1ddc7d0ff8c1c.tar.gz
Remove some unnecesary part of the patch. Fixes pr 5940.
Diffstat (limited to 'games/xbomber/patches')
-rw-r--r--games/xbomber/patches/patch-aa24
1 files changed, 15 insertions, 9 deletions
diff --git a/games/xbomber/patches/patch-aa b/games/xbomber/patches/patch-aa
index 438ff350d32..ba86c20cc94 100644
--- a/games/xbomber/patches/patch-aa
+++ b/games/xbomber/patches/patch-aa
@@ -1,8 +1,10 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 10:40:44 agc Exp $
+$NetBSD: patch-aa,v 1.3 1998/08/14 11:26:45 frueauf Exp $
---- makefile.orig Thu Jun 18 20:28:34 1998
-+++ makefile Thu Jul 23 07:31:00 1998
-@@ -13,5 +13,12 @@
+--- makefile.orig Fri Jun 19 05:28:34 1998
++++ makefile Fri Aug 14 13:15:08 1998
+@@ -11,15 +11,22 @@
+
+ # Makefile user-definable variables------------------------------------------
+INSTALLROOT= $(PREFIX)
+INSTALLBIN= $(INSTALLROOT)/bin
@@ -16,15 +18,17 @@ $NetBSD: patch-aa,v 1.2 1998/08/07 10:40:44 agc Exp $
-CFLAGS=-I/usr/X11/include
+CFLAGS=-I$(PREFIX)/include -DSOUNDS=\"$(SOUNDS)\" -DPIXMAPS=\"$(PIXMAPS)\" -DLEVELS=\"$(LEVELS)\" -DBITMAPS=\"$(BITMAPS)\"
-@@ -21,3 +28,3 @@
+ # Change this to "touch" if your system doesn't have the "strip" command:
+ POSTPROCESS=strip
+
# adjust according to target
-XLIB=-L/usr/X11/lib -lX11
+XLIB=-L$(PREFIX)/lib -lX11
-@@ -42,5 +49,19 @@
- chmod 755 sounds bitmaps pixmaps sounds/numbers levels
-- chmod 644 *.c *.h makefile sounds/*.au *.txt \
-+ chmod 644 *.c *.h Makefile sounds/*.au *.txt \
+ # uncomment for sunos/solaris
+ #XLIB=-L/usr/openwin/lib -lX11
+@@ -43,6 +50,20 @@
+ chmod 644 *.c *.h makefile sounds/*.au *.txt \
bitmaps/*.xbm pixmaps/*.ppm \
sounds/numbers/*.au levels/*.dat
+
@@ -42,3 +46,5 @@ $NetBSD: patch-aa,v 1.2 1998/08/07 10:40:44 agc Exp $
+ install -o bin -g bin -m 0644 sounds/* $(SOUNDS)
+ install -o bin -g bin -m 0644 levels/* $(LEVELS)
+ clean:
+ rm *.o