1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/cosmo/files/patch-aa

31 lines
841 B
Plaintext
Raw Normal View History

--- Imakefile.orig Sat May 11 16:06:00 1996
+++ Imakefile Sat Jan 15 04:54:08 2000
@@ -1,14 +1,14 @@
-BINDIR = /usr/local/games
+XCOMM BINDIR = /usr/local/games
PAD = # -DUSE_PAD
CHMOD = /bin/chmod
MKDIR = /bin/mkdir
-CC = gcc
+XCOMM CC = gcc
REGULATE_TIMER = -DREG_TIMER
-DATADIR = $(BINDIR)/cosmodir
+DATADIR = $(LIBDIR)/cosmo
DATAFILE = $(DATADIR)/best.dat
PROTO_DEFINES = -DRANK_FILE=\"$(DATAFILE)\" $(PAD) $(REGULATE_TIMER) $(SIGNAL)
-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