The sed expression needs a tiny tweak to handle more recent fossil releases like the current 20100318142033. Reproducible: Always Steps to Reproduce: 1. cp fossil-20100124175507.ebuild fossil-20100318142033.ebuild 2. emerge fossil Actual Results: emerge fails when trying to execute x86_64-pc-linux-gnu-gcc -Wall -O2 -march=nocona -pipe x86_64-pc-linux-gnu-gcc -Wall -O2 -march=nocona -pipe -O2 -march=nocona -pipe -I. -I./src -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_THREADSAFE=0 -DSQLITE_DEFAULT_FILE_FORMAT=4 -Dlocaltime=fossil_localtime -DSQLITE_ENABLE_LOCKING_STYLE=0 -c ./src/sqlite3.c -o ./obj/sqlite3.o Expected Results: successful emerge of fossil The problem is that the current Makefile has two lines starting with TCC, which is not handled by the sed script in src_prepare.
Created attachment 231307 [details] working ebuild This is a working ebuild file for recent fossil releases
+*fossil-20100318142033 (19 May 2010) + + 19 May 2010; Justin Lecher <jlec@gentoo.org> + +files/20100318142033-gentoo.patch, +fossil-20100318142033.ebuild: + Version Bump #319503; unbundle sqlite; link as-needed conform +