Created attachment 316149 [details, diff] eternal-lands-1.9.3-build.patch 1. build fails if underlinking is not permitted like for the gold linker 2. build is not verbose 3. LDFLAGS are ignored/overwritten 4. CC/CXX are ignored/overwritten and some other stuff I removed some seds, simplified a few things. This patch only works with the altered ebuild. attaching...
Created attachment 316151 [details, diff] eternal-lands-1.9.3-r2.ebuild.diff also bumped to EAPI=4
Ok, works fine in my testing. Short of committing this I doubt we'll be able to get testing on odd archs/etc. I'm going to commit and keep an eye out for any issues.
+ DEBUG="$(usex debug "yes" "no")" \ + BSD_KERNEL="$(usex kernel_linux "no" "yes")" \ to + DEBUG="$(usex debug)" \ + BSD_KERNEL="$(usex kernel_linux)" \ since it has default values of yes/no in eutils.eclass
# Fix for Gentoo zlib OF redefine sed -i '1i#define OF(x) x' `find -name "*.c"` || die "sed failed" looks suspicious. internal copy of sys-libs/zlib[minizip]? should propably be patched to use the system copy instead of working it around like this.
(In reply to comment #4) > # Fix for Gentoo zlib OF redefine > sed -i '1i#define OF(x) x' `find -name "*.c"` || die "sed failed" > > looks suspicious. internal copy of sys-libs/zlib[minizip]? should propably > be patched to use the system copy instead of working it around like this. Interesting. Hadn't realized it actually bundled something. It is using the system zlib headers, and zlib itself, just not minizip. I'll log that as a new bug.
(In reply to comment #3) > + DEBUG="$(usex debug "yes" "no")" \ > + BSD_KERNEL="$(usex kernel_linux "no" "yes")" \ > > to > > + DEBUG="$(usex debug)" \ > + BSD_KERNEL="$(usex kernel_linux)" \ > > since it has default values of yes/no in eutils.eclass you probably then mean BSD_KERNEL="$(usex !kernel_linux)"
*** Bug 369315 has been marked as a duplicate of this bug. ***