1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/databases/libodbc++/files/patch-configure
Johann Visagie 6e76729a1c - Update to version 0.2.2 (release)
- Streamline slightly the selection of whether to compile with GUI support,
  but this still needs further stress testing
- Add patch to work around bsd.port.mk problem described in PR 31142
2001-11-14 13:55:28 +00:00

33 lines
797 B
Plaintext

The fudging of the value of $ltmain is a workaround for a bug in bsd.port.mk,
described (with patch) in PR 31142.
-- Johann Visagie <wjv@FreeBSD.org>
--- configure.orig Wed Nov 7 17:02:23 2001
+++ configure Wed Nov 14 13:38:01 2001
@@ -2823,7 +2823,8 @@
# All known linkers require a `.a' archive for static linking (except M$VC,
# which needs '.lib').
libext=a
-ltmain="$ac_aux_dir/ltmain.sh"
+ac_aux_dir_tmp="$ac_aux_dir"
+ltmain="$ac_aux_dir_tmp/ltmain.sh"
ofile="$default_ofile"
with_gnu_ld="$lt_cv_prog_gnu_ld"
need_locks="$enable_libtool_lock"
@@ -7136,10 +7137,10 @@
if test "x$enable_threads" = "xyes"
then
- QT_LIBS="-lqt-mt"
+ QT_LIBS="-lqt2-mt"
QT_DEFS="-DODBCXX_QT -DQT_THREAD_SUPPORT"
else
- QT_LIBS="-lqt"
+ QT_LIBS="-lqt2"
QT_DEFS="-DODBCXX_QT"
fi