summaryrefslogtreecommitdiff
path: root/games/frotz/patches
diff options
context:
space:
mode:
authorwiz <wiz>2001-12-25 17:30:39 +0000
committerwiz <wiz>2001-12-25 17:30:39 +0000
commitfaaae5b4d5ef93f434a95bd1c9297b5c3030af9e (patch)
tree6ff3fa89b4b73803482fffb123979374acfaf64b /games/frotz/patches
parent0bfc8ba99592bc5ad0d7bad37201077d622a47e1 (diff)
downloadpkgsrc-faaae5b4d5ef93f434a95bd1c9297b5c3030af9e.tar.gz
Buildlinkify. Use appropriate INCOMPAT_CURSES for setscrreg().
Diffstat (limited to 'games/frotz/patches')
-rw-r--r--games/frotz/patches/patch-aa29
1 files changed, 21 insertions, 8 deletions
diff --git a/games/frotz/patches/patch-aa b/games/frotz/patches/patch-aa
index 653086a52f2..be460ff6627 100644
--- a/games/frotz/patches/patch-aa
+++ b/games/frotz/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2001/05/23 13:35:10 dillo Exp $
+$NetBSD: patch-aa,v 1.3 2001/12/25 17:30:40 wiz Exp $
--- Makefile.orig Sun May 20 23:16:39 2001
+++ Makefile
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.2 2001/05/23 13:35:10 dillo Exp $
# Define your optimization flags. Most compilers understand -O and -O2,
# Standard (note: Solaris on UltraSparc using gcc 2.8.x might not like this.)
-@@ -10,42 +10,42 @@
+@@ -10,46 +10,46 @@
#-malign-jumps=2
# Define where you want Frotz to be installed. Usually this is /usr/local
@@ -48,7 +48,7 @@ $NetBSD: patch-aa,v 1.2 2001/05/23 13:35:10 dillo Exp $
#INCL = -I/usr/freeware/include
#INCL = -I/5usr/include
-#INCL =
-+INCL = -I${PREFIX}/include
++INCL = -I${BUILDLINK_DIR}/include
# This should define the location and name of whatever curses library you're
# linking with. Usually, this isn't necessary if /etc/ld.so.conf is set
@@ -59,15 +59,28 @@ $NetBSD: patch-aa,v 1.2 2001/05/23 13:35:10 dillo Exp $
#LIB = -L/usr/freeware/lib
#LIB = -L/5usr/lib
-#LIB =
-+LIB = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib
++LIB = -L${BUILDLINK_DIR}/lib -Wl,-R${PREFIX}/lib
# One of these must be uncommented, use ncurses if you have it.
- CURSES = -lncurses # Linux always uses ncurses.
-@@ -87,6 +87,7 @@
+-CURSES = -lncurses # Linux always uses ncurses.
+-#CURSES = -lcurses
++#CURSES = -lncurses # Linux always uses ncurses.
++CURSES = -lcurses
- CFLAGS = $(OPTS) $(COMP_DEFS) $(INCL)
+ # Comment this out if you're not using ncurses.
+ CURSES_DEF = -DUSE_NCURSES_H
+@@ -85,11 +85,12 @@
+ COMP_DEFS = $(OPT_DEFS) $(COLOR_DEFS) $(SOUND_DEFS) $(SOUNDCARD) \
+ $(MEMMOVE_DEF)
+
+-CFLAGS = $(OPTS) $(COMP_DEFS) $(INCL)
++CFLAGS += $(OPTS) $(COMP_DEFS)
+all: frotz
$(BINNAME): soundcard.h $(OBJECTS)
- $(CC) -o $(BINNAME)$(EXTENSION) $(OBJECTS) $(LIB) $(CURSES) $(SOUND_LIB)
+- $(CC) -o $(BINNAME)$(EXTENSION) $(OBJECTS) $(LIB) $(CURSES) $(SOUND_LIB)
++ $(CC) -o $(BINNAME)$(EXTENSION) $(LDFLAGS) $(OBJECTS) $(LIB) $(CURSES) $(SOUND_LIB)
+
+ all: $(BINNAME)
+