summaryrefslogtreecommitdiff
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
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.
-rw-r--r--games/netmaj/Makefile3
-rw-r--r--games/netmaj/distinfo4
-rw-r--r--games/netmaj/patches/patch-aa14
3 files changed, 11 insertions, 10 deletions
diff --git a/games/netmaj/Makefile b/games/netmaj/Makefile
index afce83d9cba..c6f69d03ab4 100644
--- a/games/netmaj/Makefile
+++ b/games/netmaj/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2005/07/16 19:10:39 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2007/09/02 11:45:06 kei Exp $
#
DISTNAME= netmaj-2.0.7
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.sfc.wide.ad.jp/~kusune/netmaj/files/
diff --git a/games/netmaj/distinfo b/games/netmaj/distinfo
index 343dfc9a610..76812c4a6d5 100644
--- a/games/netmaj/distinfo
+++ b/games/netmaj/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2007/02/19 22:07:46 joerg Exp $
+$NetBSD: distinfo,v 1.5 2007/09/02 11:45:06 kei Exp $
SHA1 (netmaj-2.0.7.tar.gz) = 1363ea8ca42079fb444b25c605d264b5f083e260
RMD160 (netmaj-2.0.7.tar.gz) = 9d3fd68b7607b2c3064e9dd8310085818f32f93e
Size (netmaj-2.0.7.tar.gz) = 213819 bytes
-SHA1 (patch-aa) = bec292d315a4cad7dd25c3e4510bb67fab911257
+SHA1 (patch-aa) = 6dcb7829bfb7324725c57e0c0d5bcd73c12fae78
SHA1 (patch-ab) = 3b58d9456459334df45fda4d1eed5d360e1d3c49
SHA1 (patch-ac) = 0d5a611ce922c4e3c837f70f1a895d7c72f5535f
SHA1 (patch-ad) = 0b0c286ea94a52181305bbb1489bc842bb7586bf
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)" \