summaryrefslogtreecommitdiff
path: root/games/netmaj/patches
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2007-09-02 11:45:06 +0000
committerkei <kei@pkgsrc.org>2007-09-02 11:45:06 +0000
commit113bd64eebf40899f8d27ddc3292b4337f1c51ed (patch)
tree8c768b2e56bd54df40b1b9264456756641edb8b6 /games/netmaj/patches
parent89de6e2a6b72a6e9695140faae56656145589674 (diff)
downloadpkgsrc-113bd64eebf40899f8d27ddc3292b4337f1c51ed.tar.gz
changed the way to handle curses library in Linux. hope this fixes PR29425.
bump revision to 2.0.7nb1.
Diffstat (limited to 'games/netmaj/patches')
-rw-r--r--games/netmaj/patches/patch-aa14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/netmaj/patches/patch-aa b/games/netmaj/patches/patch-aa
index 37bad972c31..aa71957cec3 100644
--- a/games/netmaj/patches/patch-aa
+++ b/games/netmaj/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2007/02/19 22:07:46 joerg Exp $
+$NetBSD: patch-aa,v 1.3 2007/09/02 11:45:06 kei Exp $
---- Makefile.orig 1996-11-11 14:43:22.000000000 +0000
-+++ Makefile
-@@ -25,29 +25,33 @@ REVISION=0
+--- Makefile.orig 1996-11-11 23:43:22.000000000 +0900
++++ Makefile 2007-07-17 14:08:03.000000000 +0900
+@@ -25,29 +25,33 @@
INTERNAL_REVISION=7
ARCFILE=netmaj-$(VERSION).$(REVISION).$(INTERNAL_REVISION).tar.gz
@@ -40,13 +40,13 @@ $NetBSD: patch-aa,v 1.2 2007/02/19 22:07:46 joerg Exp $
+OS_CFLAGS= -O -DUSE_TERMIOS -DUSE_TERMCAP -DDEF_OPTARG -DHAVE_GETTIMEOFDAY
+RANLIB=ranlib
+LIBS =
-+CURSES= lib/libcurses.a -ltermcap
++CURSES= -lncurses
+LDFLAGS = -Llib
+.endif
# for nec ews
##CC=/usr/abiccs/bin/cc -ZXNd=5000
-@@ -60,13 +64,15 @@ LDFLAGS = -Llib
+@@ -60,13 +64,15 @@
#LDFLAGS = -Llib
# for Solaris
@@ -69,7 +69,7 @@ $NetBSD: patch-aa,v 1.2 2007/02/19 22:07:46 joerg Exp $
# for nec ews (SVR2)
#CC=cc
-@@ -163,9 +169,9 @@ libs:
+@@ -163,9 +169,9 @@
x:
-if test -d xui; then \
(cd xui; make CC="$(CC)" OS_CFLAGS="$(OS_CFLAGS)" \