Problem 1: In ${WORKDIR}/splashutils-1.3/Makefile, line 89: LDLIBS += -lmng -llcms -ljpeg -lz This goes into effect if you set mng in your USE. However, neither lcms nor libmng packages are in the DEPEND, and neither library is in the tarball. On my system, I had libmng but no lcms, thus the compile failed at the link stage. These two libraries either need to be provided in the tarball or *DEPENDed upon - I personally don't know which is the correct way. Problem 2: While I'm here, there's also a problem with line 186 of the same file: sed -i "s:#define JMESSAGE.*::" jerror.c ; \ Since the CWD at that point is $(ROOT)/$(OBJDIR)/jpeglib, which doesn't contain that file, this sed fails (although the ebuild happily chugs on regardless). This line clearly needs to be: sed -i "s:#define JMESSAGE.*::" $(ROOT)/$(JPEGSRC)/jerror.c ; \
Oops, forgot to mention for anyone who wanders along -- lcms is a USE-conditional dep of libmng (as is libjpeg, which may be irrelevant). Maybe the ebuild needs built_with_use from the eutils eclass?
*** Bug 141985 has been marked as a duplicate of this bug. ***
*** Bug 143252 has been marked as a duplicate of this bug. ***
Fixed in 1.3-r2, thanks for your help and reporting the problem.