summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-07-22 14:45:50 +0000
committerPeter Volkov <pva@gentoo.org>2010-07-22 14:45:50 +0000
commit79ebb2c9f8dc7247086f55ec6e1170b03539afe1 (patch)
tree2c3e48c00ce2930a8d710374cd580b11f1e9e063 /x11-plugins/pidgin-latex/pidgin-latex-1.3.4.ebuild
parentarm stable, bug #327777 (diff)
downloadgentoo-2-79ebb2c9f8dc7247086f55ec6e1170b03539afe1.tar.gz
gentoo-2-79ebb2c9f8dc7247086f55ec6e1170b03539afe1.tar.bz2
gentoo-2-79ebb2c9f8dc7247086f55ec6e1170b03539afe1.zip
Respect LDFLAGS, bug #328815, thank Kacper Kowalik (Xarthisius) for report. Drop old
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-plugins/pidgin-latex/pidgin-latex-1.3.4.ebuild')
-rw-r--r--x11-plugins/pidgin-latex/pidgin-latex-1.3.4.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/x11-plugins/pidgin-latex/pidgin-latex-1.3.4.ebuild b/x11-plugins/pidgin-latex/pidgin-latex-1.3.4.ebuild
index f0057acbe488..94828a19eb6d 100644
--- a/x11-plugins/pidgin-latex/pidgin-latex-1.3.4.ebuild
+++ b/x11-plugins/pidgin-latex/pidgin-latex-1.3.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-latex/pidgin-latex-1.3.4.ebuild,v 1.4 2010/05/21 15:51:05 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-latex/pidgin-latex-1.3.4.ebuild,v 1.5 2010/07/22 14:45:50 pva Exp $
EAPI="2"
inherit multilib toolchain-funcs
@@ -25,10 +25,10 @@ RDEPEND="${COMMON_DEPEND}
S=${WORKDIR}/${PN}
-src_prepare()
-{
+src_prepare() {
sed -e "s:\(CC.*=\).*:\1 $(tc-getCC):" \
-e "/LIB_INSTALL_DIR/{s:/lib/pidgin:/$(get_libdir)/pidgin:;}" \
+ -e "s:-shared:\$(LDFLAGS) &:" \
-i Makefile || die
}
@@ -36,8 +36,7 @@ src_compile() {
emake PREFIX=/usr || die
}
-src_install()
-{
+src_install() {
make PREFIX="${D}/usr" install || die "make install failed"
dodoc README CHANGELOG TODO || die
}