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.
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
*** Bug 49120 has been marked as a duplicate of this bug. ***
Created attachment 32102 [details, diff] patch for ebuild here is a patch for the latest ebuild 3.3.2
can we apply this? i tested it a while back and it worked fine
Created attachment 42475 [details, diff] qt-3.3.3 patch updated patch also adds ldflags support to go with cflags
Created attachment 42476 [details, diff] qt-3.3.3-r1 patch patch for -r1 also
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
Adding strip-flags to keep things sane. Closing bug.