summaryrefslogtreecommitdiff
path: root/editors/mg/patches/patch-ai
blob: a443f14aebd64cf895cfaf768beb636ff2a7cdc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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.'