1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/cosmo/files/patch-aa
Yukihiro Nakai 044fe0d8a2 Fix and updates from KATO Tsuguru.
Submitted by:		"KATO Tsuguru" <tkato@prontomail.ne.jp>
2000-01-22 11:46:45 +00:00

31 lines
841 B
Plaintext

--- 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