openbsd-ports/databases/sqsh/patches/patch-configure
2004-05-24 16:42:21 +00:00

22 lines
466 B
Plaintext

$OpenBSD: patch-configure,v 1.4 2004/05/24 16:42:21 jcs Exp $
--- configure.orig Fri Nov 9 07:58:04 2001
+++ configure Mon May 24 11:37:30 2004
@@ -1209,6 +1209,8 @@
SYBASE_OS="-lm -ldl -ldgc";;
aix*)
SYBASE_OS="-lm";;
+ openbsd*)
+ SYBASE_OS="-lm -liconv";;
*)
SYBASE_OS="-lm -ldl";;
esac
@@ -1493,7 +1495,7 @@
#define $ac_tr_lib 1
EOF
- LIBS="-lreadline $LIBS"
+ LIBS="${READLINE_LIBS} $LIBS"
else
echo "$ac_t""no" 1>&6