pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/mg Remove the term.h check, it fails with ncur...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7067f08ec3f9
branches:  trunk
changeset: 567864:7067f08ec3f9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 26 18:10:14 2009 +0000

description:
Remove the term.h check, it fails with ncurses from pkgsrc.

diffstat:

 editors/mg/distinfo         |   3 ++-
 editors/mg/patches/patch-ai |  37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 1 deletions(-)

diffs (55 lines):

diff -r 9294c8c45432 -r 7067f08ec3f9 editors/mg/distinfo
--- a/editors/mg/distinfo       Thu Nov 26 17:35:53 2009 +0000
+++ b/editors/mg/distinfo       Thu Nov 26 18:10:14 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2009/03/11 19:24:41 hasso Exp $
+$NetBSD: distinfo,v 1.4 2009/11/26 18:10:14 joerg Exp $
 
 SHA1 (mg-20090107.tar.gz) = 3191c6dea4996347b6d40b34fa4c88a57e5ef42e
 RMD160 (mg-20090107.tar.gz) = d35cc894d2be7bfafb1943fefb5529c2dcbc2002
@@ -9,3 +9,4 @@
 SHA1 (patch-af) = e305ea6c7189b51467c5f46fec42d88c0f54c107
 SHA1 (patch-ag) = 5d973ea998cca712e39a8b207820aea7e2739316
 SHA1 (patch-ah) = 579d1438d959597899ef82ab4bfed662792fa64d
+SHA1 (patch-ai) = 677ec3df1356b00b1ea0f8c8f44531ccf7699b5e
diff -r 9294c8c45432 -r 7067f08ec3f9 editors/mg/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/mg/patches/patch-ai       Thu Nov 26 18:10:14 2009 +0000
@@ -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.'



Home | Main Index | Thread Index | Old Index