compilation of package fails due to the use of an obsolete tail +2 command which should read tail -n +2 on newer systems. The ebuild should require coreutils=>5.0.91 and patch the esdl source Makefiles: work/esdl-0.93.0909/Makefile:ERL_DIR := $(shell echo 'io:format("~s~n",[code:root_dir()]),halt().' | erl | sed 's,^[0-9]*> *,,g' | tail +2) work/esdl-0.93.0909/c_src/Makefile: ERL_DIR := $(shell echo 'io:format("~s~n",[code:root_dir()]),halt().' | erl | sed 's,^[0-9]*> *,,g' | tail +2) work/esdl-0.93.0909/c_src/Makefile.orig: ERL_DIR := $(shell echo 'io:format("~s~n",[code:root_dir()]),halt().' | erl | sed 's,^[0-9]*> *,,g' | tail +2) work/esdl-0.93.0909/c_src/Makefile.macOSX:ERL_DIR := $(shell echo 'io:format("~s~n",[code:root_dir()]),halt().' | erl | sed 's,^[0-9]*> *,,g' | tail +2) to read: tail -n +2 Regards, Andy.
thx, fixed :D
same problem in esdl-0.94.0125 please add those two "tail -n" sed lines. src_compile() { cp c_src/Makefile{,.orig} sed -e "/^CFLAGS.*/s:\\\\$: ${CFLAGS} \\\\:" \ c_src/Makefile.orig > c_src/Makefile sed -i -e s:"tail +2":"tail -n +2":g Makefile sed -i -e s:"tail +2":"tail -n +2":g c_src/Makefile make || die } Regards, Andy.
fixed in cvs ... also fixed the CFLAGS sed since it's changed through the released