summaryrefslogtreecommitdiff
path: root/games/connect4/files/patch-aa
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-11-03 12:50:59 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-11-03 12:50:59 +0000
commit87c2fa72e7fa57be0b898a66ba14cab10f741992 (patch)
treebb33e6944f26a43a3bf71d0345c3a4509ad4e4f8 /games/connect4/files/patch-aa
parentUpdate to version 0.7 (diff)
- Use MASTER_SITE_COMP_SOURCES to MASTER_SITES
- Support CC/CFLAGS/PREFIX properly - Change location of data file from lib/ to share/ PR: 22552 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=34728
Diffstat (limited to 'games/connect4/files/patch-aa')
-rw-r--r--games/connect4/files/patch-aa24
1 files changed, 15 insertions, 9 deletions
diff --git a/games/connect4/files/patch-aa b/games/connect4/files/patch-aa
index 4cf5b4658c23..aac62636f43f 100644
--- a/games/connect4/files/patch-aa
+++ b/games/connect4/files/patch-aa
@@ -1,24 +1,30 @@
-*** Makefile.orig Tue Apr 15 21:55:19 1997
---- Makefile Tue Apr 15 21:57:58 1997
+*** Makefile.orig Fri Nov 3 02:23:51 2000
+--- Makefile Fri Nov 3 02:24:41 2000
***************
-*** 1,7 ****
+*** 1,10 ****
# Makefile for c4
! CFLAGS = -g #-DSCOREFILE=\"/usr/games/lib/c4.scores\"
CURSES = -lcurses -ltermcap
c4 : c4.o screen.o c4.h tables.h types.h
- cc $(CFLAGS) -o c4 c4.o screen.o $(CURSES)
---- 1,12 ----
+! cc $(CFLAGS) -o c4 c4.o screen.o $(CURSES)
+
+ screen.o : c4.h
+
+--- 1,15 ----
# Makefile for c4
+ # Patched for FreeBSD 2.1.5R by
+ # Joel Sutton <suttonj@interconnect.com.au>
+ # 15th April, 1997
-! CFLAGS = -O -g -DSCOREFILE=\"/usr/local/lib/connect4/scores\"
+! CFLAGS += -DSCOREFILE=\"$(PREFIX)/share/connect4/scores\"
CURSES = -lcurses -ltermcap
-+
-+ all: c4
++ all: c4
++
c4 : c4.o screen.o c4.h tables.h types.h
- cc $(CFLAGS) -o c4 c4.o screen.o $(CURSES)
+! $(CC) $(CFLAGS) -o c4 c4.o screen.o $(CURSES)
+
+ screen.o : c4.h
+