summaryrefslogtreecommitdiff
path: root/games/frotz/patches
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2002-01-22 02:13:02 +0000
committerhubertf <hubertf@pkgsrc.org>2002-01-22 02:13:02 +0000
commitb7e4567b70ebfba665c80a37546a2e533432444f (patch)
treed03f35c3fce725e830540a6ac0321a9d1e39efeb /games/frotz/patches
parent9fdda67b5199eb3813d56e74bc2eb3ebc0174dae (diff)
downloadpkgsrc-b7e4567b70ebfba665c80a37546a2e533432444f.tar.gz
Fix compilation on 1.5.3_ALPHA - the ncurses buildlink
framework will always setup a proper libncurses, either real ncurses or the system's libcurses, so just link in libncurses ((from the buildlink area!)
Diffstat (limited to 'games/frotz/patches')
-rw-r--r--games/frotz/patches/patch-aa12
1 files changed, 3 insertions, 9 deletions
diff --git a/games/frotz/patches/patch-aa b/games/frotz/patches/patch-aa
index be460ff6627..f294b6fe8b5 100644
--- a/games/frotz/patches/patch-aa
+++ b/games/frotz/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2001/12/25 17:30:40 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2002/01/22 02:13:02 hubertf Exp $
--- Makefile.orig Sun May 20 23:16:39 2001
+++ Makefile
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.3 2001/12/25 17:30:40 wiz 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,46 +10,46 @@
+@@ -10,42 +10,42 @@
#-malign-jumps=2
# Define where you want Frotz to be installed. Usually this is /usr/local
@@ -62,13 +62,7 @@ $NetBSD: patch-aa,v 1.3 2001/12/25 17:30:40 wiz Exp $
+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.
--#CURSES = -lcurses
-+#CURSES = -lncurses # Linux always uses ncurses.
-+CURSES = -lcurses
-
- # Comment this out if you're not using ncurses.
- CURSES_DEF = -DUSE_NCURSES_H
+ CURSES = -lncurses # Linux always uses ncurses.
@@ -85,11 +85,12 @@
COMP_DEFS = $(OPT_DEFS) $(COLOR_DEFS) $(SOUND_DEFS) $(SOUNDCARD) \
$(MEMMOVE_DEF)