summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-02-09 10:26:01 +0000
committerAlexis Ballier <aballier@gentoo.org>2015-02-09 10:26:01 +0000
commitc1ce34d73f2a249752b57347599a8a1f953ac67f (patch)
tree906f8890e9066c15d32ffed6288d6b1281cdd865 /dev-embedded/avrdude
parentDrop old (diff)
downloadgentoo-2-c1ce34d73f2a249752b57347599a8a1f953ac67f.tar.gz
gentoo-2-c1ce34d73f2a249752b57347599a8a1f953ac67f.tar.bz2
gentoo-2-c1ce34d73f2a249752b57347599a8a1f953ac67f.zip
fix cross-compilation
Signed-off-by: aballier@gentoo.org (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-embedded/avrdude')
-rw-r--r--dev-embedded/avrdude/ChangeLog5
-rw-r--r--dev-embedded/avrdude/avrdude-6.1.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-embedded/avrdude/ChangeLog b/dev-embedded/avrdude/ChangeLog
index 142be2243af8..076fa6ef3041 100644
--- a/dev-embedded/avrdude/ChangeLog
+++ b/dev-embedded/avrdude/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-embedded/avrdude
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/ChangeLog,v 1.61 2015/02/09 10:20:24 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/ChangeLog,v 1.62 2015/02/09 10:26:01 aballier Exp $
+
+ 09 Feb 2015; Alexis Ballier <aballier@gentoo.org> avrdude-6.1.ebuild:
+ fix cross-compilation
09 Feb 2015; Alexis Ballier <aballier@gentoo.org> avrdude-6.1.ebuild:
add dep on libusb:0, bug #536476
diff --git a/dev-embedded/avrdude/avrdude-6.1.ebuild b/dev-embedded/avrdude/avrdude-6.1.ebuild
index c4f84fe8a908..ad924bfca4ad 100644
--- a/dev-embedded/avrdude/avrdude-6.1.ebuild
+++ b/dev-embedded/avrdude/avrdude-6.1.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/avrdude-6.1.ebuild,v 1.2 2015/02/09 10:20:24 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avrdude/avrdude-6.1.ebuild,v 1.3 2015/02/09 10:26:01 aballier Exp $
EAPI=5
+inherit toolchain-funcs
+
DESCRIPTION="AVR Downloader/UploaDEr"
HOMEPAGE="http://savannah.nongnu.org/projects/avrdude"
SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
@@ -32,6 +34,8 @@ src_prepare() {
}
src_configure() {
+ # somehow this doesnt get set when cross-compiling and breaks build
+ tc-export AR
export ac_cv_lib_ftdi_ftdi_usb_get_strings=$(usex ftdi)
export ac_cv_lib_ncurses_tputs=$(usex ncurses)
export ac_cv_lib_readline_readline=$(usex readline)