diff options
author | joerg <joerg@pkgsrc.org> | 2009-11-26 18:10:14 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-11-26 18:10:14 +0000 |
commit | 77a62685d225c5d2fe39f6317679ec6b1c5c36cb (patch) | |
tree | e50419a56463a35028c6f360f46af9f69844a60a /editors/mg/patches/patch-ai | |
parent | c973861fd38dc623219bab4692c2ef7429a4b2b1 (diff) | |
download | pkgsrc-77a62685d225c5d2fe39f6317679ec6b1c5c36cb.tar.gz |
Remove the term.h check, it fails with ncurses from pkgsrc.
Diffstat (limited to 'editors/mg/patches/patch-ai')
-rw-r--r-- | editors/mg/patches/patch-ai | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/editors/mg/patches/patch-ai b/editors/mg/patches/patch-ai new file mode 100644 index 00000000000..a443f14aebd --- /dev/null +++ b/editors/mg/patches/patch-ai @@ -0,0 +1,37 @@ +$NetBSD: patch-ai,v 1.1 2009/11/26 18:10:14 joerg Exp $ + +--- configure.orig 2009-11-26 19:05:06.000000000 +0100 ++++ configure +@@ -163,32 +163,6 @@ else + echo 'Fails.' + fi + +- +-if [ ! -r /usr/include/term.h ]; then +- note 'term.h' +- if [ -r /usr/include/ncurses/term.h ]; then +- echo "Found in /usr/include/ncurses" +- extraflags="$extraflags -I/usr/include/ncurses" +- else +- for i in pkg local; do +- if [ -r /usr/$i/include/term.h ]; then +- echo "Found in /usr/$i/include" +- extralibs="$extralibs -L/usr/$i/lib" +- extraflags="$extraflags -I/usr/$i/include" +- break +- else +- false +- fi +- done || +- { +- echo 'Not found!' >&2 +- echo 'Do you have the ncurses devel package installed?' >&2 +- echo 'If you know where term.h is, please email the author!' >&2 +- exit 1 +- } +- fi +-fi +- + note 'base and dirname' + if gcc_defines "__GLIBC__" || gcc_defines "__CYGWIN__" ; then + echo 'Not present, adding.' |