summaryrefslogtreecommitdiff
path: root/games/minami/patches/patch-af
diff options
context:
space:
mode:
authorkei <kei@pkgsrc.org>2001-05-03 00:45:56 +0000
committerkei <kei@pkgsrc.org>2001-05-03 00:45:56 +0000
commit66b044da414430b675ee04fe4409bcc4e84d2ebe (patch)
treeed753ee623b19a4f5672170b9d762df73989c2c5 /games/minami/patches/patch-af
parentdb5d23bac34d00e3999603b4dfe3e5ce548cbeb6 (diff)
downloadpkgsrc-66b044da414430b675ee04fe4409bcc4e84d2ebe.tar.gz
* Unintentionally depended readline but works well with the libtermcap.
Diffstat (limited to 'games/minami/patches/patch-af')
-rw-r--r--games/minami/patches/patch-af15
1 files changed, 13 insertions, 2 deletions
diff --git a/games/minami/patches/patch-af b/games/minami/patches/patch-af
index 5f5476112e4..6c0fa245c9e 100644
--- a/games/minami/patches/patch-af
+++ b/games/minami/patches/patch-af
@@ -1,10 +1,21 @@
-$NetBSD: patch-af,v 1.1.1.1 2001/04/22 07:53:00 kei Exp $
+$NetBSD: patch-af,v 1.2 2001/05/03 00:45:57 kei Exp $
--- minflag.orig Fri Mar 9 02:02:47 2001
-+++ minflag Sat Mar 31 14:26:01 2001
++++ minflag Thu May 3 09:15:04 2001
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/pkg/bin/perl
$VERSION="1.0.2";
$_ = `uname -s`;
+@@ -14,6 +14,10 @@
+ }
+ elsif(/SunOS/){
+ $CFLAGS .= " -DM_HAVE_CURSES_H -DM_HAVE_TERM_H";
++ $LFLAGS .= " -ltermcap";
++}
++elsif(/NetBSD/){
++ $CFLAGS .= " -DM_HAVE_CURSES_H -DM_HAVE_TERMCAP_H";
+ $LFLAGS .= " -ltermcap";
+ }
+ else{