--- STLport-5.1.0.ebuild 2007-04-01 23:32:18.000000000 -0700 +++ STLport-5.1.0-r1.ebuild 2007-04-01 23:31:38.000000000 -0700 @@ -39,11 +39,14 @@ #define _STLP_NATIVE_INCLUDE_PATH ../g++-v$(gcc-major-version) EOF + append-lfs-flags + sed -i \ -e "s|\(CC :=\) gcc|\1 $(tc-getCC)|" \ -e "s|\(CXX :=\) c++|\1 $(tc-getCXX)|" \ -e "s|^\(CFLAGS = \)|\1 ${CFLAGS} |" \ -e "s|^\(CCFLAGS = \)|\1 ${CFLAGS} |" \ + -e "s|^\(CPPFLAGS = \)|\1 ${CPPFLAGS} |" \ build/Makefiles/gmake/gcc.mak || die "sed failed" local myconf @@ -56,8 +59,6 @@ cd "${S}/build/lib" - append-lfs-flags - # It's not an autoconf script ./configure \ ${myconf} \