summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-02-26 12:34:47 +0000
committerPacho Ramos <pacho@gentoo.org>2012-02-26 12:34:47 +0000
commit6451bfe8df40b37508980ea3889d352053362769 (patch)
tree84889ca1644ca5a7d9cd22a77f9e8f1e9c514d82 /dev-embedded
parentAdds CCASFLAGS to list of flags which are filtered (diff)
downloadgentoo-2-6451bfe8df40b37508980ea3889d352053362769.tar.gz
gentoo-2-6451bfe8df40b37508980ea3889d352053362769.tar.bz2
gentoo-2-6451bfe8df40b37508980ea3889d352053362769.zip
Respect CFLAGS and CC variables.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/powersoftplus-libftdi/ChangeLog8
-rw-r--r--dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild13
2 files changed, 13 insertions, 8 deletions
diff --git a/dev-embedded/powersoftplus-libftdi/ChangeLog b/dev-embedded/powersoftplus-libftdi/ChangeLog
index bd29786190e8..33f083a532d0 100644
--- a/dev-embedded/powersoftplus-libftdi/ChangeLog
+++ b/dev-embedded/powersoftplus-libftdi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-embedded/powersoftplus-libftdi
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/powersoftplus-libftdi/ChangeLog,v 1.2 2007/09/02 19:09:20 jurek Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/powersoftplus-libftdi/ChangeLog,v 1.3 2012/02/26 12:34:47 pacho Exp $
+
+ 26 Feb 2012; Pacho Ramos <pacho@gentoo.org>
+ powersoftplus-libftdi-0.1.8-r1.ebuild:
+ Respect CFLAGS and CC variables.
*powersoftplus-libftdi-0.1.8-r1 (02 Sep 2007)
diff --git a/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild b/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild
index 6393533335b9..72738d2d7597 100644
--- a/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild
+++ b/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild,v 1.1 2007/09/02 19:09:20 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/powersoftplus-libftdi/powersoftplus-libftdi-0.1.8-r1.ebuild,v 1.2 2012/02/26 12:34:47 pacho Exp $
-inherit multilib
+EAPI=4
+inherit multilib toolchain-funcs
MY_PN="${PN/-libftdi/}"
MY_P="${MY_PN}-${PV}"
@@ -28,11 +29,11 @@ src_compile() {
cd "${TABFILEDIR}"
# Wipe out precompiled binary
- emake clean || die "emake failed"
- emake || die "emake failed"
+ emake clean
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
}
src_install() {
ftditabfile="${TABFILEDIR}/${TABFILE}"
- dolib.so ${ftditabfile} || die "dolib.so failed"
+ dolib.so ${ftditabfile}
}