diff --git a/app-text/lchat/lchat-1.0-r1.ebuild b/app-text/lchat/lchat-1.0-r2.ebuild similarity index 85% rename from app-text/lchat/lchat-1.0-r1.ebuild rename to app-text/lchat/lchat-1.0-r2.ebuild index 3e5bb2e11e..3a094f1be3 100644 --- a/app-text/lchat/lchat-1.0-r1.ebuild +++ b/app-text/lchat/lchat-1.0-r2.ebuild @@ -16,7 +16,10 @@ DEPEND="${RDEPEND}" IUSE="+examples" src_compile() { - emake CC="$(tc-getCC)" CFLAGS="$CFLAGS" LIBS="-lgrapheme $LDFLAGS" all $(usex examples filter/indent) + emake CC="$(tc-getCC)" CFLAGS="$CFLAGS" LIBS="-lgrapheme $LDFLAGS" all + if use examples; then + emake CC="$(tc-getCC)" CFLAGS="$CFLAGS $LDFLAGS" filter/indent + fi } src_install() {