openbsd-ports/net/ntp/patches/patch-configure
2001-03-30 17:49:03 +00:00

32 lines
738 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2001/03/30 17:49:03 wilfried Exp $
--- configure.orig Thu Jul 20 06:09:42 2000
+++ configure Fri Mar 30 19:04:30 2001
@@ -2540,7 +2540,7 @@ if test "${ac_cv_lib_readline_readline+s
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lreadline $LIBS"
+LIBS="-lreadline -ltermcap $LIBS"
cat >conftest.$ac_ext <<EOF
#line 2546 "configure"
#include "confdefs.h"
@@ -2576,7 +2576,7 @@ if test $ac_cv_lib_readline_readline = y
#define HAVE_LIBREADLINE 1
EOF
- LIBS="-lreadline $LIBS"
+ LIBS="-lreadline -ltermcap $LIBS"
fi
@@ -6072,6 +6072,9 @@ fi
done
case "$target" in
+ i386-*-openbsd*)
+ # mlockall broken
+ ;;
*-*-aix4*)
# Just a stub. Idiots.
;;