mail-client/sylpheed-claws-etpan-privacy aborts configure stage with LDFLAGS="-Wl,--as-needed": checking for libetpan-config... /usr/bin/libetpan-config checking libetpan/libetpan.h usability... yes checking libetpan/libetpan.h presence... yes checking for libetpan/libetpan.h... yes checking whether libetpan-config hints compiles and links fine... no configure: error: libetpan support required With the attached patches it configures, builds & runs fine.
Created attachment 86728 [details, diff] sylpheed-claws-etpan-privacy-0.13-asneeded.patch
Created attachment 86729 [details, diff] ebuild patch
The patch is not solving the problem at all. What it does is changing the linking order in the wrong way (look at http://www.gentoo.org/proj/en/qa/asneeded.xml for the right ordering of parameters). Also it touches configure, that should never be done, you should patch configure.in or configure.ac depending on what the package is using.
(In reply to comment #3) > The patch is not solving the problem at all. What it does is changing the > linking order in the wrong way (look at > http://www.gentoo.org/proj/en/qa/asneeded.xml for the right ordering of > parameters). Also it touches configure, that should never be done, you should > patch configure.in or configure.ac depending on what the package is using. This patch only helps with a small problem with a test in the configure script, everything else works fine. But I will look into what you said and try to come up with a better patch when I find some time. Thanks for the input.
(In reply to comment #3) > The patch is not solving the problem at all. What it does is changing the > linking order in the wrong way (look at > http://www.gentoo.org/proj/en/qa/asneeded.xml for the right ordering of > parameters). Also it touches configure, that should never be done, you should > patch configure.in or configure.ac depending on what the package is using. I have been looking into this (with open eyes now :-)) ) and I can see that you are of course completely right. Hopefully, I got it right this time. Again, thanks for the input, it helped me learn a great deal about autoconf.
Created attachment 87101 [details, diff] sylpheed-claws-etpan-privacy-0.13-as-needed.patch
Created attachment 87102 [details, diff] sylpheed-claws-etpan-privacy-0.13.ebuild.patch
Created attachment 87378 [details, diff] sylpheed-claws-etpan-privacy-0.13.ebuild.patch no elibtoolize necessary
Diego: can you take a look at this again and let me know if it's proper? Sascha: please send this upstream as well.
Created attachment 90131 [details, diff] sylpheed-claws-etpan-privacy-0.15.1-as-needed.patch Updated patch, ebuild patch is basically the same. I'll go upstream with this in a few minutes.
Upstream bug http://www.thewildbeast.co.uk/sylpheed-claws/bugzilla/show_bug.cgi?id=975
(In reply to comment #10) > Created an attachment (id=90131) [edit] > sylpheed-claws-etpan-privacy-0.15.1-as-needed.patch This has been accepted upstream.
added to CVS some time ago
(In reply to comment #13) > added to CVS some time ago Upstream, yes, in version 0.15.2. But neither the fix nor this version are in Gentoo portage yet.
Now it's done (version 0.15.3).