summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjoerg <joerg>2009-11-26 18:10:14 +0000
committerjoerg <joerg>2009-11-26 18:10:14 +0000
commitf3935bb463e7399cc83fbd874c258df9d9ea4b0b (patch)
treee50419a56463a35028c6f360f46af9f69844a60a /editors
parent9d0237afc0f4c7405f343fded50e603727cded44 (diff)
downloadpkgsrc-f3935bb463e7399cc83fbd874c258df9d9ea4b0b.tar.gz
Remove the term.h check, it fails with ncurses from pkgsrc.
Diffstat (limited to 'editors')
-rw-r--r--editors/mg/distinfo3
-rw-r--r--editors/mg/patches/patch-ai37
2 files changed, 39 insertions, 1 deletions
diff --git a/editors/mg/distinfo b/editors/mg/distinfo
index 6e9ec838c22..6a86ff3eb4a 100644
--- a/editors/mg/distinfo
+++ b/editors/mg/distinfo
@@ -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-ad) = f71bed38dc38ca107dd8aade779a75b5597aab0d
SHA1 (patch-af) = e305ea6c7189b51467c5f46fec42d88c0f54c107
SHA1 (patch-ag) = 5d973ea998cca712e39a8b207820aea7e2739316
SHA1 (patch-ah) = 579d1438d959597899ef82ab4bfed662792fa64d
+SHA1 (patch-ai) = 677ec3df1356b00b1ea0f8c8f44531ccf7699b5e
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.'