summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2014-03-09 04:41:56 +0000
committerTristan Heaven <tristan@gentoo.org>2014-03-09 04:41:56 +0000
commit238beba44aba69baac4d883bd4ac769822047a7c (patch)
tree5388ec326b5456178d7ed6c56263519a8e540edd /media-gfx
parentChange my email. (diff)
downloadgentoo-2-238beba44aba69baac4d883bd4ac769822047a7c.tar.gz
gentoo-2-238beba44aba69baac4d883bd4ac769822047a7c.tar.bz2
gentoo-2-238beba44aba69baac4d883bd4ac769822047a7c.zip
Fix building when LD is set, bug #503924
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB3312CFDCF34A31F!)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/optipng/ChangeLog7
-rw-r--r--media-gfx/optipng/optipng-0.7.4.ebuild10
2 files changed, 9 insertions, 8 deletions
diff --git a/media-gfx/optipng/ChangeLog b/media-gfx/optipng/ChangeLog
index 1bce4dab663c..69e78feca19f 100644
--- a/media-gfx/optipng/ChangeLog
+++ b/media-gfx/optipng/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/optipng
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.90 2012/12/25 11:19:41 maekke Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.91 2014/03/09 04:41:56 tristan Exp $
+
+ 09 Mar 2014; Tristan Heaven <tristan@gentoo.org> optipng-0.7.4.ebuild:
+ Fix building when LD is set, bug #503924
25 Dec 2012; Markus Meier <maekke@gentoo.org> optipng-0.7.4.ebuild:
add ~arm
diff --git a/media-gfx/optipng/optipng-0.7.4.ebuild b/media-gfx/optipng/optipng-0.7.4.ebuild
index fe5e00ac8c07..055eb9fea405 100644
--- a/media-gfx/optipng/optipng-0.7.4.ebuild
+++ b/media-gfx/optipng/optipng-0.7.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.7.4.ebuild,v 1.2 2012/12/25 11:19:41 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.7.4.ebuild,v 1.3 2014/03/09 04:41:56 tristan Exp $
EAPI=4
@@ -31,6 +31,7 @@ src_prepare() {
src/optipng/osys.c || die
tc-export CC AR RANLIB
+ export LD=$(tc-getCC)
}
src_configure() {
@@ -41,10 +42,7 @@ src_configure() {
}
src_compile() {
- emake \
- -C src/optipng \
- GENTOO_CFLAGS="${CFLAGS}" \
- GENTOO_LDFLAGS="${LDFLAGS}"
+ emake -C src/optipng
}
src_install() {