Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25551 - qt ebuilds lost cflag support
Summary: qt ebuilds lost cflag support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 49120 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-29 20:58 UTC by Bret Towe
Modified: 2004-10-30 22:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for ebuild (qt-3.3.2-cflags.patch,1012 bytes, patch)
2004-05-26 14:32 UTC, Bret Towe
Details | Diff
qt-3.3.3 patch (qt-3.3.3-flags.patch,610 bytes, patch)
2004-10-23 21:45 UTC, Bret Towe
Details | Diff
qt-3.3.3-r1 patch (qt-3.3.3-r1-flags.patch,616 bytes, patch)
2004-10-23 21:46 UTC, Bret Towe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bret Towe 2003-07-29 20:58:48 UTC
bug #12235 added to the ebuild support so cflags would be noticed by qt
somehow this support got lost in the version bumps since
here is a snippet of code to replace it i put it just above the hppa bit at the
bottom of src_unpack 
this isnt what was in the otehr ebuilds this one is a bit clean and takes into
account that CXXFLAGS can be different

# set c/xxflags
	einfo 'Setting CFLAGS and CXXFLAGS'
	cp qmake.conf qmake.conf.orig
	sed -e "s:QMAKE_CFLAGS_RELEASE.*=.*:QMAKE_CFLAGS_RELEASE=${CFLAGS}:" \
		-e "s:QMAKE_CXXFLAGS_RELEASE.*=.*:QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS}:" \
		qmake.conf.orig > qmake.conf

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bret Towe 2004-02-07 14:59:57 UTC
ive been running qt with these cflag modifications for a while now
(since before 2003-07-29 when this bug was opened) been working great
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-05-18 16:02:44 UTC
*** Bug 49120 has been marked as a duplicate of this bug. ***
Comment 3 Bret Towe 2004-05-26 14:32:56 UTC
Created attachment 32102 [details, diff]
patch for ebuild

here is a patch for the latest ebuild 3.3.2
Comment 4 Disenchanted (RETIRED) gentoo-dev 2004-09-18 21:20:13 UTC
can we apply this?
i tested it a while back and it worked fine
Comment 5 Bret Towe 2004-10-23 21:45:59 UTC
Created attachment 42475 [details, diff]
qt-3.3.3 patch

updated patch also adds ldflags support to go with cflags
Comment 6 Bret Towe 2004-10-23 21:46:26 UTC
Created attachment 42476 [details, diff]
qt-3.3.3-r1 patch

patch for -r1 also
Comment 7 Disenchanted (RETIRED) gentoo-dev 2004-10-23 21:55:01 UTC
ok, verifying once more
if i dont hear objections as to why not to apply the patches ill commit them, what's fair? shall we say, tomorrow? :)

thanks
Comment 8 Disenchanted (RETIRED) gentoo-dev 2004-10-30 22:40:54 UTC
Adding strip-flags to keep things sane.
Closing bug.