1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/connect4/files/patch-aa
Kevin Lo 87c2fa72e7 - 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
2000-11-03 12:50:59 +00:00

31 lines
699 B
Plaintext

*** Makefile.orig Fri Nov 3 02:23:51 2000
--- Makefile Fri Nov 3 02:24:41 2000
***************
*** 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)
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 += -DSCOREFILE=\"$(PREFIX)/share/connect4/scores\"
CURSES = -lcurses -ltermcap
+ all: c4
+
c4 : c4.o screen.o c4.h tables.h types.h
! $(CC) $(CFLAGS) -o c4 c4.o screen.o $(CURSES)
screen.o : c4.h