Bump to 2.6.9 is available. Cp'ing the ebuild works if you modify the src_install part like this: -DESTDIR=${D} bin_dir=${D}/usr/bin make -f makefile -e install || die +DESTDIR=${D} bin_dir=/usr/bin make -f makefile -e install || die Debian claims that 2.4.8 fails w/gcc-4.3.0, but I don't see it. http://bugs.debian.org/417223 Reproducible: Always
Peter, This one needs more work. It's forcing -O2 optimization, CC or CXX targets aren't respected (need toolchain-funcs.eclass). The program has also optional GUI using wxGTK which isn't build/installed here. Documentation gets into wrong directory, with COPYING. Basically, it needs an entirely new ebuild.
Created attachment 151835 [details] Unfinished ebuild This one is uncomplete, and fails with USE="wxwindows". Adding it here so I can return to it later unless someone beats me to it..
Created attachment 151851 [details, diff] highlight-2.6.9-gcc43.patch Needed for the next part.
Created attachment 151853 [details, diff] highlight-2.6.9.ebuild Fixes GUI installation. Depends on wxgtk-2.6, since unicode widgets makes the code go *barf*.
Created attachment 151857 [details] highlight-2.6.9.ebuild Fix QA stuff. doc dir, examples dir, prepalldocs, CXX, O-level.
*highlight-2.6.9 (04 May 2008) 04 May 2008; Samuli Suominen <drac@gentoo.org> +files/highlight-2.6.9-asneeded.patch, +files/highlight-2.6.9-gcc43.patch, +highlight-2.6.9.ebuild: Version bump with GCC 4.3 and -Wl,--as-needed patch by Peter Alfredsen.