1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/games/block/files/patch-aa
Michael Haro 4aed6f1e65 ***
games/affenspiel
       - Support CC properly
       ***
       games/battalion
       - Support PREFIX properly
       ***
       games/block
       - Support CC/CFLAGS properly
       ***
       games/blue
       - Support CC/CFLAGS properly
       - Add WWW: line into pkg/DESCR

       New file:
       patches/patch-aa
       ***
       games/bs
       - Add WWW: line into pkg/DESCR
       ***
       games/columns
       - Support CXXFLAGS properly
       - Support sdl-config
       ***
       games/empire
       - Exclude GPL doc from package
       - Add WWW: line into pkg/DESCR
       ***
       games/freesweep to 0.87
       - Update to version 0.87
       ***
       games/galaxis
       - Support CC properly
       - Add WWW: line into pkg/DESCR
       ***
       games/garith
       - Support CC/CFLAGS properly
       - Support GTK_CONFIG
       ***
       games/gemdropx to 0.7
       - Update to version 0.7
       ***
       games/gtkballs
       - Exclude GPL doc from package
       - Support GTK_CONFIG
       ***
       games/icbm3d
       - Update WWW: line of pkg/DESCR
       ***
       games/mirrormagic
       - Support CC/X11BASE properly
       ***
       games/phalanx to 22
       - Update to version 22
       - Add WWW: line into pkg/DESCR
       ***
       games/spellcast
       - Update MASTER_SITES and WWW: line of pkg/DESCR
       - Support CFLAGS properly
       - Exclude GPL doc from package
       ***
       games/starlanes
       - Support CC properly
       - Exclude GPL doc from package
       ***
       games/xdigger to 1.0.10
       - Update to version 1.0.10

       New file:
       patches/patch-ad  patches/patch-ae
       ***
       games/xtron
       - Support PREFIX properly
       - Exclude GPL doc from package
       ***
       games/xtruco
       - Support CC/CFLAGS/X11BASE properly
       ***
       games/xvier
       - Support X11BASE properly
       ***

PR: 17741
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
2000-04-02 01:00:24 +00:00

36 lines
1.0 KiB
Plaintext

--- makefile.orig Wed Mar 24 18:39:36 1999
+++ makefile Wed Mar 29 22:32:43 2000
@@ -6,26 +6,26 @@
#the various flags and options
INCLUDE= -I/usr/include/ncurses/
-CC= gcc
-CFLAGS= -$(INCLUDE) -Wall
+CC?= gcc
+CFLAGS?= -$(INCLUDE) -Wall
LL= -lncurses -ltermcap
CLL= -lcurses -ltermcap
#makes the game - this is default (has colors and keyboard flushing)
block : block.c
- $(CC) $(INCLUDE) -DUCOL -DNEW -s -o block block.c $(LL)
+ $(CC) $(CFLAGS) -DUCOL -DNEW -DPREFIX=\"$(PREFIX)\" -s -o block block.c $(LL)
#make the editor
bed : bed.c
- $(CC) $(INCLUDE) -s -o bed bed.c $(LL)
+ $(CC) $(CFLAGS) -s -o bed bed.c $(LL)
#makes the game, leaving out the newer ncurses options (keyboard) and colors
old : block.c
- $(CC) $(INCLUDE) -s -o block block.c $(LL)
+ $(CC) $(CFLAGS) -s -o block block.c $(LL)
#makes the game, with no color
nocolor: block.c
- $(CC) $(INCLUDE) -DNEW -s -o block block.c $(LL)
+ $(CC) $(CFLAGS) -DNEW -s -o block block.c $(LL)
#makes the game, using curses instead of ncurses
cblock : block.c