diff options
author | tv <tv@pkgsrc.org> | 2005-02-09 20:37:08 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-02-09 20:37:08 +0000 |
commit | 6c3e28fdb00757b19a6108403760d7ff65389512 (patch) | |
tree | 71bd3d7a9050508633b8da0c082ed47e4aa98f05 /games | |
parent | 916db8925ba5cd47e12dc1bb71ef1ebec468c20d (diff) | |
download | pkgsrc-6c3e28fdb00757b19a6108403760d7ff65389512.tar.gz |
Make build on Interix.
Fix from HIRAMATSU Yoshifumi <hiramatu@boreas.dti.ne.jp> in PR pkg/29247.
Diffstat (limited to 'games')
-rw-r--r-- | games/minami/Makefile | 3 | ||||
-rw-r--r-- | games/minami/distinfo | 4 | ||||
-rw-r--r-- | games/minami/patches/patch-af | 24 |
3 files changed, 18 insertions, 13 deletions
diff --git a/games/minami/Makefile b/games/minami/Makefile index a1de4cf86a4..48b1584407b 100644 --- a/games/minami/Makefile +++ b/games/minami/Makefile @@ -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 @@ REPLACE_PERL= gen_act gen_dun gen_itm gen_scn minflag do-install: ${INSTALL_PROGRAM} ${WRKSRC}/minami ${PREFIX}/bin +.include "../../devel/readline/buildlink3.mk" .include "../../lang/perl5/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/games/minami/distinfo b/games/minami/distinfo index e9a69fcfa13..be3f3b080b3 100644 --- a/games/minami/distinfo +++ b/games/minami/distinfo @@ -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-ab) = ac24fa9e79fbb800dc3c676bcda5018c688f274d SHA1 (patch-ac) = e94288b6bf92d00eed3b315c2b5e18940e1e96eb SHA1 (patch-ad) = 090f186b5292ca99dbdef267a82faa2ab21586a4 SHA1 (patch-ae) = 51da678696ac130c184f35811d833f4ab214a08a -SHA1 (patch-af) = 55e015142821cc8abffc0852c264b68d2f46c280 +SHA1 (patch-af) = 49293d7c478dcef2dc4c1693ea50e1beba511dfd diff --git a/games/minami/patches/patch-af b/games/minami/patches/patch-af index d913391757c..a692c74a928 100644 --- a/games/minami/patches/patch-af +++ b/games/minami/patches/patch-af @@ -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 @@ - } - elsif(/SunOS/){ +--- 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(/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"; |