openbsd-ports/games/freeciv/patches/patch-configure
2001-06-03 22:03:56 +00:00

49 lines
1.5 KiB
Plaintext

$OpenBSD: patch-configure,v 1.3 2001/06/03 22:03:56 brad Exp $
--- configure.orig Thu Jul 20 19:26:32 2000
+++ configure Sun Jun 3 23:25:42 2001
@@ -2882,7 +2882,7 @@ else
cat conftest.$ac_ext >&5
rm -rf conftest*
CATOBJEXT=.mo
- DATADIRNAME=lib
+ DATADIRNAME=share
fi
rm -f conftest*
INSTOBJEXT=.mo
@@ -5878,7 +5878,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lreadline $SERVER_LIBS $LIBS"
+LIBS="-lreadline -lcurses $SERVER_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 5884 "configure"
#include "confdefs.h"
@@ -5906,7 +5906,7 @@ LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- SERVER_LIBS="-lreadline $SERVER_LIBS"
+ SERVER_LIBS="-lreadline -lcurses $SERVER_LIBS"
cat >> confdefs.h <<EOF
#define HAVE_LIBREADLINE 1
EOF
@@ -5994,7 +5994,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lreadline $SERVER_LIBS $LIBS"
+LIBS="-lreadline -lcurses $SERVER_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 6000 "configure"
#include "confdefs.h"
@@ -6022,7 +6022,7 @@ LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- SERVER_LIBS="-lreadline $SERVER_LIBS"
+ SERVER_LIBS="-lreadline -lcurses $SERVER_LIBS"
cat >> confdefs.h <<EOF
#define HAVE_LIBREADLINE 1
EOF