See attached build log.
(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Created attachment 243877 [details]
+*ipsorcery-2.0.9-r1 (21 Aug 2010)
+ 21 Aug 2010; Markos Chandras <email@example.com>
+ Respect CC,CFLAGS,LDFLAGS. Bug #333811. Thanks to Diego E. 'Flameeyes'
+ Pettenò <firstname.lastname@example.org> for reporting. Keyworded for amd64
Created attachment 243957 [details, diff]
Patch to ipsorcery-2.0.9.ebuild to address various QA issues
This package had several problems:
- Ignored CPPFLAGS (minor)
- Ignored LDFLAGS
- Non-GTK build used make, rather than emake.
- Use of dosbin without ||die
This patch addresses these problems by:
- Deleting the CC= line, inheriting toolchain-funcs, and exporting CC
- Adding CPPFLAGS and LDFLAGS alongside the CFLAGS already added by the ebuild
- Switching to emake
- Adding ||die to dosbin calls
Also, of minor interest, the package is not keyworded for amd64, but it built correctly for me on a stable amd64 system. However, it has no self tests, and I am not in a position to test using the program in a live environment.
Weird. I did not get a collision alert when I posted my patch, and comment #2 was not visible when I started work on this. Oh well.