summaryrefslogtreecommitdiff
path: root/games/frotz/patches
diff options
context:
space:
mode:
authorfredb <fredb>1999-08-14 06:59:41 +0000
committerfredb <fredb>1999-08-14 06:59:41 +0000
commitf4b62688919e30f6774b191dbc797c3b20ad067d (patch)
tree611430d653ac5108aa9da7bc28bfbd7848e18cf9 /games/frotz/patches
parent211536328eb276785b83712598eb303a3098df58 (diff)
downloadpkgsrc-f4b62688919e30f6774b191dbc797c3b20ad067d.tar.gz
Initial import of frotz-2.32
Contributed by Peter Seebach, pkg/8203
Diffstat (limited to 'games/frotz/patches')
-rw-r--r--games/frotz/patches/patch-aa47
1 files changed, 47 insertions, 0 deletions
diff --git a/games/frotz/patches/patch-aa b/games/frotz/patches/patch-aa
new file mode 100644
index 00000000000..0dec93c2613
--- /dev/null
+++ b/games/frotz/patches/patch-aa
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/08/14 06:59:42 fredb Exp $
+--- Makefile.orig Fri Oct 17 13:11:10 1997
++++ Makefile Fri Aug 13 15:52:29 1999
+@@ -1,7 +1,6 @@
+-
+ # Define your c compiler. I recommend gcc if you've got it.
+-#CC = cc
+-CC = gcc
++CC = cc
++#CC = gcc
+
+ # Define your optimization flags. Most compilers understand -O and -O2,
+ # Debugging (don't use)
+@@ -43,21 +42,21 @@
+ # have that option.
+ #
+ #DEFS = -DUSE_GETOPT_H -DCOLOR_SUPPORT -DEMACS_EDITING
+-DEFS =
++DEFS = -DUSE_UNISTD_H -DCOLOR_SUPPORT -DEMACS_EDITING -DUSE_NCURSES_H
+
+ # This should point to the location of your curses or ncurses include file
+ # if it's in a non-standard place.
+ #INCL = -I/usr/local/include
+ #INCL = -I/5usr/include
+-INCL =
++INCL = -I${PREFIX}/include
+
+ # This should define the location and name of whatever curses library you're
+ # linking with.
+ #LIB = -L/usr/local/lib
+ #CURSES = -lncurses
+ #LIB = -L/5usr/lib
+-LIB =
+-CURSES = -lcurses
++LIB = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib
++CURSES = -lncurses
+
+ # Nothing under this line should need to be changed.
+
+@@ -71,3 +70,7 @@
+ frotz: $(OBJECTS)
+ $(CC) -o frotz $(OBJECTS) $(LIB) $(CURSES)
+
++all: frotz
++
++install:
++ ${INSTALL} -c frotz ${PREFIX}/bin