aboutsummaryrefslogtreecommitdiff
path: root/games/cosmo/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'games/cosmo/files/patch-aa')
-rw-r--r--games/cosmo/files/patch-aa27
1 files changed, 20 insertions, 7 deletions
diff --git a/games/cosmo/files/patch-aa b/games/cosmo/files/patch-aa
index b606a790e551..8ed299f51f38 100644
--- a/games/cosmo/files/patch-aa
+++ b/games/cosmo/files/patch-aa
@@ -1,17 +1,30 @@
--- Imakefile.orig Sat May 11 16:06:00 1996
-+++ Imakefile Fri May 2 12:38:28 1997
-@@ -1,11 +1,12 @@
++++ Imakefile Sat Jan 15 04:54:08 2000
+@@ -1,14 +1,14 @@
-BINDIR = /usr/local/games
-+PREFIX?= /usr/X11R6
-+BINDIR = ${PREFIX}/bin
++XCOMM BINDIR = /usr/local/games
PAD = # -DUSE_PAD
CHMOD = /bin/chmod
MKDIR = /bin/mkdir
- CC = gcc
+-CC = gcc
++XCOMM CC = gcc
REGULATE_TIMER = -DREG_TIMER
-DATADIR = $(BINDIR)/cosmodir
-+DATADIR = ${PREFIX}/lib/X11/cosmo
++DATADIR = $(LIBDIR)/cosmo
DATAFILE = $(DATADIR)/best.dat
PROTO_DEFINES = -DRANK_FILE=\"$(DATAFILE)\" $(PAD) $(REGULATE_TIMER) $(SIGNAL)
- CDEBUGFLAGS = -O2 # -g
+-CDEBUGFLAGS = -O2 # -g
++XCOMM CDEBUGFLAGS = -O2 # -g
+ LOCAL_LIBRARIES = $(XLIB)
+ TAR = /bin/tar
+
+@@ -27,7 +27,7 @@
+
+ install::
+ @if [ -d $(DATADIR) ]; then echo cosmodir exists, not created.;\
+- else $(MKDIR) $(DATADIR); fi
++ else $(MKDIRHIER) $(DATADIR); fi
+ $(CHMOD) 711 $(DATADIR)
+ @if [ -f $(DATAFILE) ]; then echo ranking file exists, not created.;\
+ else echo > $(DATAFILE); fi