From f4b62688919e30f6774b191dbc797c3b20ad067d Mon Sep 17 00:00:00 2001 From: fredb Date: Sat, 14 Aug 1999 06:59:41 +0000 Subject: Initial import of frotz-2.32 Contributed by Peter Seebach, pkg/8203 --- games/frotz/patches/patch-aa | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 games/frotz/patches/patch-aa (limited to 'games/frotz/patches') 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 -- cgit v1.2.3