Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2002 09:56:50 +0200 (CEST)
From:      Tilman Linneweh <tilman@arved.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kde@FreeBSD.org
Subject:   ports/42185: x11-toolkits/qt30 Add "thread" to qmake.conf
Message-ID:  <200208300756.g7U7uoQu058061@sauna.arved.de>

next in thread | raw e-mail | index | archive | help

>Number:         42185
>Category:       ports
>Synopsis:       x11-toolkits/qt30 Add "thread" to qmake.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 30 01:00:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tilman Linneweh
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
BSD Usergroup Austria
>Environment:
System: FreeBSD sauna.arved.de 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jul 7 20:02:41 CEST 2002 tilman@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386


	
>Description:
	FreeBSD port installs threaded version of qt (qt-mt),
	but qmake.conf is installed withouth thread in the CONFIG variable. 
	Because of that, qmake tried to link with -lqt instead of
	-lqt-mt -pthread and fails.
	With thread in the CONFIG everything works.
	This affects all ports that use qmake. 
	
	
>How-To-Repeat:
	
>Fix:

	

--- qt.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/qt30/Makefile,v
retrieving revision 1.113
diff -u -r1.113 Makefile
--- Makefile	17 Aug 2002 19:49:44 -0000	1.113
+++ Makefile	30 Aug 2002 07:49:28 -0000
@@ -105,6 +105,8 @@
 		${WRKSRC}/mkspecs/freebsd-g++/qmake.conf
 	@${REINPLACE_CMD} -e 's,g++,${CXX},' \
 		${WRKSRC}/mkspecs/freebsd-g++/qmake.conf
+	@${REINPLACE_CMD} -e  's,release,release thread,' \
+		${WRKSRC}/mkspecs/freebsd-g++/qmake.conf
 
 # Work around qmake generated dependencies
 pre-install:
--- qt.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208300756.g7U7uoQu058061>