summaryrefslogtreecommitdiff
path: root/databases/libodbc++/files/patch-configure
blob: bb3c0ebe84ebeac6efefa57d843cb104f31bec87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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