--- /usr/portage/x11-plugins/pidgin-latex/pidgin-latex-1.3.4.ebuild 2010-05-21 18:07:25.000000000 +0200 +++ pidgin-latex-1.3.4.ebuild 2010-07-18 15:32:37.000000000 +0200 @@ -29,7 +29,8 @@ { sed -e "s:\(CC.*=\).*:\1 $(tc-getCC):" \ -e "/LIB_INSTALL_DIR/{s:/lib/pidgin:/$(get_libdir)/pidgin:;}" \ - -i Makefile || die + -e "s:-shared:\$(LDFLAGS) &:" \ + -i Makefile || die } src_compile() {