summaryrefslogtreecommitdiff
path: root/games/greed/patches
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2013-10-10 17:16:54 +0000
committerroy <roy@pkgsrc.org>2013-10-10 17:16:54 +0000
commit66b545c0da4479d17fc9565cea0109426c1acec4 (patch)
tree1dadb9893876e6a57cb14769dea70406b5f05a51 /games/greed/patches
parentb5438c1fcc4c85307e24d87638910da0800b855f (diff)
downloadpkgsrc-66b545c0da4479d17fc9565cea0109426c1acec4.tar.gz
Depend on system curses and termcap rather than forcing ncurses.
Diffstat (limited to 'games/greed/patches')
-rw-r--r--games/greed/patches/patch-aa8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/greed/patches/patch-aa b/games/greed/patches/patch-aa
index 15922b2b253..ed22456927b 100644
--- a/games/greed/patches/patch-aa
+++ b/games/greed/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2012/06/18 04:55:38 dholland Exp $
+$NetBSD: patch-aa,v 1.5 2013/10/10 17:16:54 roy Exp $
- configure paths for pkgsrc
- honor pkgsrc LDFLAGS
@@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.4 2012/06/18 04:55:38 dholland Exp $
--- Makefile.orig 2002-07-30 22:04:21.000000000 +0000
+++ Makefile
-@@ -13,12 +13,13 @@ SYSDEF=NOTBSD
+@@ -13,13 +13,14 @@ SYSDEF=NOTBSD
# Prepend "c:" (or whatever drive you use) to the following paths for MSDOS
# Location of high score file
@@ -19,11 +19,13 @@ $NetBSD: patch-aa,v 1.4 2012/06/18 04:55:38 dholland Exp $
# Flags for use with the Linux ncurses package (recommended)
-CFLAGS = -O -s -DNOTBSD
+-TERMLIB = -lncurses
+#CFLAGS = -O -s -DNOTBSD
+CFLAGS+= -DNOTBSD
- TERMLIB = -lncurses
++TERMLIB ?= -lncurses
CC = gcc
+ # Flags for use with stock curses
@@ -32,14 +33,14 @@ CC = gcc
#TERMLIB = scurses.lib