pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/minami Make build on Interix.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eac1e00c2f66
branches:  trunk
changeset: 488822:eac1e00c2f66
user:      tv <tv%pkgsrc.org@localhost>
date:      Wed Feb 09 20:37:08 2005 +0000

description:
Make build on Interix.
Fix from HIRAMATSU Yoshifumi <hiramatu%boreas.dti.ne.jp@localhost> in PR pkg/29247.

diffstat:

 games/minami/Makefile         |   3 ++-
 games/minami/distinfo         |   4 ++--
 games/minami/patches/patch-af |  24 ++++++++++++++----------
 3 files changed, 18 insertions(+), 13 deletions(-)

diffs (64 lines):

diff -r 793a869b5ccb -r eac1e00c2f66 games/minami/Makefile
--- a/games/minami/Makefile     Wed Feb 09 20:25:19 2005 +0000
+++ b/games/minami/Makefile     Wed Feb 09 20:37:08 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/04/18 05:03:04 snj Exp $
+# $NetBSD: Makefile,v 1.6 2005/02/09 20:37:08 tv Exp $
 #
 
 DISTNAME=      minami-1.0.2
@@ -16,5 +16,6 @@
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/minami ${PREFIX}/bin
 
+.include "../../devel/readline/buildlink3.mk"
 .include "../../lang/perl5/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 793a869b5ccb -r eac1e00c2f66 games/minami/distinfo
--- a/games/minami/distinfo     Wed Feb 09 20:25:19 2005 +0000
+++ b/games/minami/distinfo     Wed Feb 09 20:37:08 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2004/07/10 23:29:51 wiz Exp $
+$NetBSD: distinfo,v 1.7 2005/02/09 20:37:08 tv Exp $
 
 SHA1 (minami-1.0.2.tgz) = c64f0e7dfd29e9cf6569a37ad0c21639c0ddf070
 Size (minami-1.0.2.tgz) = 89527 bytes
@@ -7,4 +7,4 @@
 SHA1 (patch-ac) = e94288b6bf92d00eed3b315c2b5e18940e1e96eb
 SHA1 (patch-ad) = 090f186b5292ca99dbdef267a82faa2ab21586a4
 SHA1 (patch-ae) = 51da678696ac130c184f35811d833f4ab214a08a
-SHA1 (patch-af) = 55e015142821cc8abffc0852c264b68d2f46c280
+SHA1 (patch-af) = 49293d7c478dcef2dc4c1693ea50e1beba511dfd
diff -r 793a869b5ccb -r eac1e00c2f66 games/minami/patches/patch-af
--- a/games/minami/patches/patch-af     Wed Feb 09 20:25:19 2005 +0000
+++ b/games/minami/patches/patch-af     Wed Feb 09 20:37:08 2005 +0000
@@ -1,15 +1,19 @@
-$NetBSD: patch-af,v 1.3 2001/11/28 14:25:51 jlam Exp $
+$NetBSD: patch-af,v 1.4 2005/02/09 20:37:08 tv Exp $
 
---- minflag.orig       Fri Mar  9 02:02:47 2001
-+++ minflag    Thu May  3 09:15:04 2001
-@@ -14,6 +14,10 @@
+--- minflag.orig       2001-03-08 12:02:47.000000000 -0500
++++ minflag
+@@ -16,6 +16,14 @@ elsif(/SunOS/){
+   $CFLAGS .= " -DM_HAVE_CURSES_H -DM_HAVE_TERM_H";
+   $LFLAGS .= " -ltermcap";
  }
- elsif(/SunOS/){
-   $CFLAGS .= " -DM_HAVE_CURSES_H -DM_HAVE_TERM_H";
++elsif(/NetBSD/){
++  $CFLAGS .= " -DM_HAVE_CURSES_H -DM_HAVE_TERMCAP_H";
 +  $LFLAGS .= " -ltermcap";
 +}
-+elsif(/NetBSD/){
-+  $CFLAGS .= " -DM_HAVE_CURSES_H -DM_HAVE_TERMCAP_H";
-   $LFLAGS .= " -ltermcap";
- }
++elsif(/Interix/){
++  $CFLAGS .= " -DM_HAVE_CURSES_H ";
++  $LFLAGS .= " -lcurses";
++}
  else{
+   $CFLAGS .= " -DM_HAVE_TERMCAP_H -DM_HAVE_READLINE";
+   $LFLAGS .= " -ltermcap -lreadline";



Home | Main Index | Thread Index | Old Index