aboutsummaryrefslogtreecommitdiffstats
path: root/games/yahtzee/files
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-11-11 14:38:20 +0800
committerkevlo <kevlo@FreeBSD.org>2000-11-11 14:38:20 +0800
commit3bef30fd90cdd2264c609857b3d1479ce83459fe (patch)
treef0427ff23ff066aa5913ffda25276b3df4bb2f54 /games/yahtzee/files
parentaed42626953e3c2289c04e4779c2d4cf26427a91 (diff)
downloadfreebsd-ports-gnome-3bef30fd90cdd2264c609857b3d1479ce83459fe.tar.gz
freebsd-ports-gnome-3bef30fd90cdd2264c609857b3d1479ce83459fe.tar.zst
freebsd-ports-gnome-3bef30fd90cdd2264c609857b3d1479ce83459fe.zip
- Support CFLAGS/PREFIX properly
- freebsd.org -> FreeBSD.org - Change location of data files from lib/ to share/ PR: 22746 Submitted by: Ports Fury
Diffstat (limited to 'games/yahtzee/files')
-rw-r--r--games/yahtzee/files/patch-aa43
-rw-r--r--games/yahtzee/files/patch-ab31
2 files changed, 33 insertions, 41 deletions
diff --git a/games/yahtzee/files/patch-aa b/games/yahtzee/files/patch-aa
index 5e85bd895ac3..c2eb5261af80 100644
--- a/games/yahtzee/files/patch-aa
+++ b/games/yahtzee/files/patch-aa
@@ -1,22 +1,21 @@
-*** Makefile.orig Sun Apr 13 14:17:07 1997
---- Makefile Sun Apr 13 14:17:54 1997
-***************
-*** 1,4 ****
-! CFLAGS =
-
- OBJ = computer.o main.o
-
---- 1,4 ----
-! CFLAGS = -O -DHAS_RENAME
-
- OBJ = computer.o main.o
-
-***************
-*** 13,15 ****
---- 13,17 ----
- rm -f $(OBJ) $(BIN)
-
- $(OBJ): yahtzee.h config.h
-+
-+ all: $(BIN) $(OBJ)
-\ No newline at end of file
+--- Makefile.orig Sat Jan 25 17:45:26 1992
++++ Makefile Wed Nov 8 04:48:42 2000
+@@ -1,4 +1,4 @@
+-CFLAGS =
++CFLAGS += -DHAS_RENAME -DSCOREDIR=\"$(PREFIX)/share/yahtzee\"
+
+ OBJ = computer.o main.o
+
+@@ -7,9 +7,11 @@
+ BIN = yahtzee
+
+ $(BIN): $(OBJ)
+- cc -o $@ $(OBJ) -lcurses
++ $(CC) -o $@ $(OBJ) -lcurses
+
+ clean:
+ rm -f $(OBJ) $(BIN)
+
+ $(OBJ): yahtzee.h config.h
++
++all: $(BIN) $(OBJ)
diff --git a/games/yahtzee/files/patch-ab b/games/yahtzee/files/patch-ab
index 368cced98698..5f2e4544d659 100644
--- a/games/yahtzee/files/patch-ab
+++ b/games/yahtzee/files/patch-ab
@@ -1,19 +1,12 @@
-*** config.h.orig Sun Apr 13 13:48:41 1997
---- config.h Sun Apr 13 13:48:54 1997
-***************
-*** 1,7 ****
- #ifndef _config_H_
- #define _config_H_
-
-! #define SCOREDIR "/usr/local/lib"
- #define SCOREFNAME "yahtzee.sco" /* must allow .L extension */
-
- #define NUM_TOP_PLAYERS 10
---- 1,7 ----
- #ifndef _config_H_
- #define _config_H_
-
-! #define SCOREDIR "/usr/local/lib/yahtzee"
- #define SCOREFNAME "yahtzee.sco" /* must allow .L extension */
-
- #define NUM_TOP_PLAYERS 10
+--- config.h.orig Sat Jan 25 17:41:05 1992
++++ config.h Wed Nov 8 04:47:56 2000
+@@ -1,7 +1,9 @@
+ #ifndef _config_H_
+ #define _config_H_
+
++#ifndef SCOREDIR
+ #define SCOREDIR "/usr/local/lib"
++#endif
+ #define SCOREFNAME "yahtzee.sco" /* must allow .L extension */
+
+ #define NUM_TOP_PLAYERS 10