The attached patch enables libgeotiff to be build with the prefixed portage. USE flags for testing: python -doc objective: `emerge mapserver` test system: x86-macos
Created attachment 133372 [details, diff] Patch to the libgeotiff 1.2.4 ebuild to make it work with prefixed portage This patch needs a file to be present in the $FILES_DIR, which is attached separately.
Created attachment 133373 [details, diff] This patch has the same effect than another Gentoo patch (see ebuild), but is specific to Darwin
Created attachment 134909 [details] Updated patch to the libgeotiff 1.2.4 ebuild to make it work with prefixed portage
Sorry, was hitting the wrong button... or the right button at the wrong time. The last attached patch replaces the earlier one.
Created attachment 134944 [details, diff] Updated patch to the libgeotiff 1.2.4 ebuild to make it work with prefixed portage So, that should be now according to the standard. ;)
soname.patch: you could have made a case for Darwin, to avoid the conditional patching. You also forgot to set the install_name similar to the soname. The symlinks weren't dealt with either. ebuild.patch: filter-ldflags is a bit odd, since the ebuild appends-ldflags them first, besides, they were added for a reason. Anyway fixed for *-macos and added to the tree.