summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-25 10:46:31 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-25 10:46:31 +0000
commit1f308d236518f7ef3f55bcf6829b112d2eb04654 (patch)
tree947c0169ef6870018a5b7d44309fc54701ee5169 /media-libs/pnglite/pnglite-0.1.17.ebuild
parentVersion bump. (diff)
downloadgentoo-2-1f308d236518f7ef3f55bcf6829b112d2eb04654.tar.gz
gentoo-2-1f308d236518f7ef3f55bcf6829b112d2eb04654.tar.bz2
gentoo-2-1f308d236518f7ef3f55bcf6829b112d2eb04654.zip
Stop hardcoding `cc` and keyword ~amd64.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/pnglite/pnglite-0.1.17.ebuild')
-rw-r--r--media-libs/pnglite/pnglite-0.1.17.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/media-libs/pnglite/pnglite-0.1.17.ebuild b/media-libs/pnglite/pnglite-0.1.17.ebuild
index 46170084c610..d04bf97435d6 100644
--- a/media-libs/pnglite/pnglite-0.1.17.ebuild
+++ b/media-libs/pnglite/pnglite-0.1.17.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/media-libs/pnglite/pnglite-0.1.17.ebuild,v 1.2 2010/03/24 23:41:12 volkmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/pnglite/pnglite-0.1.17.ebuild,v 1.3 2010/03/25 10:46:31 ssuominen Exp $
EAPI="2"
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
LICENSE="ZLIB"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
RDEPEND="sys-libs/zlib"
@@ -27,6 +27,7 @@ src_prepare() {
}
src_compile() {
+ tc-export CC
if use static-libs; then
emake ${PN}.o || die "make failed"
$(tc-getAR) -cvq lib${PN}.a ${PN}.o || die "ar failed"