--- STLport-5.1.0.ebuild 2007-03-31 19:16:32.000000000 -0700 +++ STLport-5.1.0-r1.ebuild 2007-03-31 19:16:57.000000000 -0700 @@ -35,6 +35,8 @@ } src_compile() { + append-flags "-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" + cat <<- EOF >> stlport/stl/config/user_config.h #define _STLP_NATIVE_INCLUDE_PATH ../g++-v$(gcc-major-version) EOF @@ -56,8 +58,6 @@ cd "${S}/build/lib" - append-lfs-flags - # It's not an autoconf script ./configure \ ${myconf} \