1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/games/xkobo/files/patch-aa

29 lines
730 B
Plaintext
Raw Normal View History

1997-11-12 09:57:18 +00:00
--- Imakefile.orig Fri Jan 10 03:29:36 1997
+++ Imakefile Wed Mar 25 20:18:50 1998
@@ -6,7 +6,7 @@
1997-11-12 09:57:18 +00:00
SHIPS = 5
1997-11-12 09:57:18 +00:00
/* RECORDS */
-HSCORE_DIR = /usr/local/games/xkobo-scores
+HSCORE_DIR = $(LIBDIR)/xkobo-scores
1997-11-12 09:57:18 +00:00
/* C++ COMPILER */
/* CXX = g++ */
@@ -19,6 +19,7 @@
#ifdef SECURE_SCOREFILES
/* ADMINISTER OF THE GAME */
XKOBO_ADMINISTER = games
+DEF_SECURE = -DSECURE_SCOREFILES
#endif
/* ------------------------------------------------------------------- */
@@ -35,7 +36,7 @@
SRCS = $(SRCS1) $(SRCS2)
DEFINES = -DWAIT_MSEC=$(WAIT_MSEC) -DSHIPS=$(SHIPS) \
- -DXKOBO_SCORE_DIR=\"$(HSCORE_DIR)\"
+ -DXKOBO_SCORE_DIR=\"$(HSCORE_DIR)\" $(DEF_SECURE)
CCOPTIONS = #-Wall -g -pg