From marat@bravo.hitv.ru  Fri Aug  6 19:38:56 2004
Return-Path: <marat@bravo.hitv.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6D76916A552
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Aug 2004 19:38:56 +0000 (GMT)
Received: from bravo.hitv.ru (zealot.ksu.ru [194.85.245.161])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1ABD743D6D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Aug 2004 19:38:55 +0000 (GMT)
	(envelope-from marat@bravo.hitv.ru)
Received: from bravo.hitv.ru (localhost.lnet [127.0.0.1])
	by bravo.hitv.ru (8.13.1/8.13.1) with ESMTP id i76Jdvgm006598
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 6 Aug 2004 23:39:57 +0400 (MSD)
	(envelope-from marat@bravo.hitv.ru)
Received: (from root@localhost)
	by bravo.hitv.ru (8.13.1/8.13.1/Submit) id i76JdvGT006597;
	Fri, 6 Aug 2004 23:39:57 +0400 (MSD)
	(envelope-from marat)
Message-Id: <200408061939.i76JdvGT006597@bravo.hitv.ru>
Date: Fri, 6 Aug 2004 23:39:57 +0400 (MSD)
From: Marat Afanasyev <amarat@ksu.ru>
Reply-To: Marat Afanasyev <amarat@ksu.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: QT33 does'nt build on 5.2-CURRENT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70092
>Category:       ports
>Synopsis:       QT33 does'nt build on 5.2-CURRENT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kde
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 06 19:40:24 GMT 2004
>Closed-Date:    Fri Aug 06 20:14:19 GMT 2004
>Last-Modified:  Fri Aug  6 20:20:28 GMT 2004
>Originator:     Marat Afanasyev
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD bravo.hitv.ru 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Aug 6 23:09:53 MSD 2004 root@bravo.hitv.ru:/usr/obj/usr/src/sys/LEXSUS i386


	i386, , 5.2-CURRENT
>Description:
	qt33 makes it's own makefile and this makefile ignores the CXXFLAGS set in /etc/make.conf. Since gcc-3.4.2 doesn't know about -fsave-memoized and -fmemoize-lookups, it just stops

here's the sample:

===>  Building for qt-3.3.2_2
cd src/moc && make
c++ -c -pipe -fno-exceptions -O -pipe -march=athlon-xp -O -pipe -fmemoize-lookups -fsave-memoized  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I/usr/local/include/freetype2 -I../../include -I../tools -I. -I/usr/local/include -o ./qbuffer.o ../tools/qbuffer.cpp
cc1plus: error: unrecognized command line option "-fmemoize-lookups"
cc1plus: error: unrecognized command line option "-fsave-memoized"
*** Error code 1

Stop in /usr/tmp/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.2/src/moc.
*** Error code 1

Stop in /usr/tmp/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.2.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt33.

>How-To-Repeat:
	cd /usr/ports/x11-toolkits/qt33; make
>Fix:

	something should be done to teach qt makefile to use /etc/make.conf variables


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->kde 
Responsible-Changed-By: lofi 
Responsible-Changed-When: Fri Aug 6 20:11:13 GMT 2004 
Responsible-Changed-Why:  
Over to maintainers. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=70092 
State-Changed-From-To: open->closed  
State-Changed-By: lofi 
State-Changed-When: Fri Aug 6 20:13:49 GMT 2004 
State-Changed-Why:  
Wontfix. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=70092 

From: Michael Nottebrock <lofi@freebsd.org>
To: freebsd-gnats-submit@freebsd.org, amarat@ksu.ru
Cc:  
Subject: Re: ports/70092: QT33 does'nt build on 5.2-CURRENT
Date: Fri, 6 Aug 2004 22:13:36 +0200

 QT gets its CFLAGS/CXXFLAGS from the configuration file made by the qmake 
 port, so if you change them, you need to recompile devel/qmake first for them 
 to take effect in the QT build. Admittedly it's ugly, but not easy to fix.
>Unformatted:
