summaryrefslogtreecommitdiff
path: root/games/sokoban/files/patch-aa
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-07-02 07:13:51 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-07-02 07:13:51 +0000
commit6f6ffdc7428bc4844568a09036068acd7edfefd3 (patch)
treea4a1dd47ff1f90bb02049618d2e56c6867079873 /games/sokoban/files/patch-aa
parentUpdate exmh-2.0gamma to 2.0delta. There's lots of bug fixes, as well as (diff)
Imports of sokoban port. This is the curses-based version.
PR: 4007 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=7179
Diffstat (limited to 'games/sokoban/files/patch-aa')
-rw-r--r--games/sokoban/files/patch-aa25
1 files changed, 25 insertions, 0 deletions
diff --git a/games/sokoban/files/patch-aa b/games/sokoban/files/patch-aa
new file mode 100644
index 000000000000..a9aab881144e
--- /dev/null
+++ b/games/sokoban/files/patch-aa
@@ -0,0 +1,25 @@
+*** Makefile Sat May 9 23:23:46 1992
+--- /home/andy/tmp/wrk/Makefile Wed Jul 2 06:04:37 1997
+***************
+*** 1,8 ****
+! CCOPT= -O3
+ OBJECTS= sok.o readscreen.o showscreen.o play.o save.o score.o
+
+ sokoban: $(OBJECTS)
+! cc $(CCOPT) -static -o sokoban $(OBJECTS) -lcurses -ltermcap
+ sok.o: sok.c sokoban.h
+ cc $(CCOPT) -c sok.c
+
+--- 1,12 ----
+! CCOPT= ${CFLAGS}
+! .ifdef PREFIX
+! CCOPT+= -DPREFIX=\"${PREFIX}\"
+! .endif
+!
+ OBJECTS= sok.o readscreen.o showscreen.o play.o save.o score.o
+
+ sokoban: $(OBJECTS)
+! cc $(CCOPT) -o sokoban $(OBJECTS) -lcurses -ltermcap
+ sok.o: sok.c sokoban.h
+ cc $(CCOPT) -c sok.c
+