The attached patch enables GDAL to be build with the prefixed portage. USE flags for testing: doc geos gif jpeg jpeg2k png postgres python -debug -fits -gml -hdf -hdf5 -netcdf -odbc -ogdi -ruby -sqlite objective: `emerge mapserver` test system: x86-macos
Created attachment 133368 [details, diff] Patch to the gdal 1.4.2 ebuild to make it work with prefixed portage.
Created attachment 134898 [details, diff] Updated patch to the gdal 1.4.2 ebuild to make it work with prefixed portage.
you missed quite some build issues. Anyway, I fixed them in the tree now.