pkgsrc/misc/sci/patches/patch-aa
2005-10-23 20:14:07 +00:00

24 lines
716 B
Text

$NetBSD: patch-aa,v 1.4 2005/10/23 20:14:07 rillig Exp $
Avoid picking up ncurses if installed
--- configure.orig Fri Dec 15 15:14:00 2000
+++ configure Fri Dec 15 15:14:11 2000
@@ -1022,7 +1022,7 @@
EOF
if { (eval echo configure:1024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
+ eval "ac_cv_lib_$ac_lib_var=no"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -1284,7 +1284,7 @@
fi
-for ac_hdr in fcntl.h unistd.h ncurses.h curses.h
+for ac_hdr in fcntl.h unistd.h curses.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6