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/minami/patches | |
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/minami/patches')
-rw-r--r-- | games/minami/patches/patch-af | 24 |
1 files changed, 14 insertions, 10 deletions
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"; |