As stated on Bug 184652, it should be possible to build x11-libs/qwtplot3d against Qt4 due to compatibility issues with certain programs. Furthermore, since there also is a newer version than the one in the Portage tree, apart from making a Qt4 version of the ebuild I also updated it to the latest version of the library, namely 0.2.7. Following the convention used by Gentoo Developers with the library x11-libs/qwt, I made two packages, one called x11-libs/qwtplot3d, which builds against Qt4, and another one called x11-libs/qwtplot3d-qt3, which builds against Qt3. I tried to leave the ebuilds as much similar to the originals as possible. There are, for example, several parts whose use I could not find, so I left them as they are, since the original Developer must have put them there for a reason. The lines I'm referring to are: find . -type f -name "*.pro" | while read file; do sed -e 's/.*no-exceptions.*//g' -i ${file} echo >> ${file} "QMAKE_CFLAGS_RELEASE += ${CFLAGS}" echo >> ${file} "QMAKE_CXXFLAGS_RELEASE += ${CXXFLAGS}" done and addwrite ${QTDIR}/etc/settings which souldn't really be necessary and I even tried to comment it out and the library built fine. Hope some Developer can review the ebuilds since this is actually one of my first attempts. Thanks, Federico Cerisola Reproducible: Always
Created attachment 132262 [details] x11-libs/qwtplot3d-0.2.7 ebuild (for Qt4)
Created attachment 132264 [details] x11-libs/qwtplot3d-qt3-0.2.7 ebuild (for Qt3)
(In reply to comment #0) > As stated on Bug 184652, it should be possible to build x11-libs/qwtplot3d > against Qt4 due to compatibility issues with certain programs. Well, then please don't file duplicate bugs about the same thing. Thanks. *** This bug has been marked as a duplicate of bug 184652 ***