--- /usr/portage/games-puzzle/xwelltris/xwelltris-1.0.1.ebuild 2006-01-20 21:05:48.000000000 +0000 +++ xwelltris-1.0.1.ebuild 2006-06-23 16:05:55.000000000 +0100 @@ -30,9 +30,15 @@ x11-libs/libX11 virtual/x11 )" +src_unpack() { + unpack ${A} + cd "${S}" + sed -i '/INSTALL_PROGRAM/s/-s //' src/Make.common.in || die "sed failed" +} + src_compile() { # configure/build process is pretty messed up - egamesconf $(use_with sdl) || die + egamesconf $(use_with sdl) || die "egamesconf failed" sed -i \ -e "/GLOBAL_SEARCH/s:\".*\":\"${GAMES_DATADIR}/${PN}\":" \ src/include/globals.h \