pkgsrc-Bugs archive

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

pkg/29247: games/minami build fails on Interix



>Number:         29247
>Category:       pkg
>Synopsis:       games/minami build fails on Interix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 05 19:53:00 +0000 2005
>Originator:     HIRAMATSU Yoshifumi
>Release:        SFU3.5
>Organization:
>Environment:
Interix nile 3.5 SP-8.0.1969.1 x86 AMD_x86_Family15_Model12_Stepping0
>Description:
Building games/minami fails on Interix.

- minami requires readline while Interix doesn't have
- termcap routines reside in curses library on Interix

>How-To-Repeat:

>Fix:
diff -buNr minami.orig/Makefile minami/Makefile
--- minami.orig/Makefile        Sun Feb  6 03:58:09 2005
+++ minami/Makefile     Sun Feb  6 03:53:27 2005
@@ -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 -buNr minami.orig/distinfo minami/distinfo
--- minami.orig/distinfo        Sun Feb  6 03:58:09 2005
+++ minami/distinfo     Sun Feb  6 03:53:27 2005
@@ -7,4 +7,4 @@
 SHA1 (patch-ac) = e94288b6bf92d00eed3b315c2b5e18940e1e96eb
 SHA1 (patch-ad) = 090f186b5292ca99dbdef267a82faa2ab21586a4
 SHA1 (patch-ae) = 51da678696ac130c184f35811d833f4ab214a08a
-SHA1 (patch-af) = 55e015142821cc8abffc0852c264b68d2f46c280
+SHA1 (patch-af) = a1ede13cca424d6c87b29d8fb0ccea3070ff5ac8
diff -buNr minami.orig/patches/patch-af minami/patches/patch-af
--- minami.orig/patches/patch-af        Sun Feb  6 03:58:09 2005
+++ minami/patches/patch-af     Sun Feb  6 03:53:27 2005
@@ -1,15 +1,19 @@
-$NetBSD: patch-af,v 1.2 2001/05/03 00:45:57 kei Exp $
+$NetBSD$
 
 --- minflag.orig       Fri Mar  9 02:02:47 2001
-+++ minflag    Thu May  3 09:15:04 2001
-@@ -14,6 +14,10 @@
- }
- elsif(/SunOS/){
++++ minflag    Sun Feb  6 03:43:18 2005
+@@ -16,6 +16,14 @@
    $CFLAGS .= " -DM_HAVE_CURSES_H -DM_HAVE_TERM_H";
-+  $LFLAGS .= " -ltermcap";
-+}
-+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