summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-07-04 17:03:09 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-07-04 17:03:09 +0000
commiteeb760e396578c035bbce9dc316f14327d1f2be2 (patch)
tree1669391decc4383af9c94b5186aee7de23999aef /dev-embedded
parentupdated for ruby support and cleaned up old version (diff)
downloadhistorical-eeb760e396578c035bbce9dc316f14327d1f2be2.tar.gz
historical-eeb760e396578c035bbce9dc316f14327d1f2be2.tar.bz2
historical-eeb760e396578c035bbce9dc316f14327d1f2be2.zip
Added check for avr-gcc, bug #134738.
Package-Manager: portage-2.1-r1
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/avr-libc/ChangeLog5
-rw-r--r--dev-embedded/avr-libc/Manifest16
-rw-r--r--dev-embedded/avr-libc/avr-libc-1.4.4.ebuild18
3 files changed, 29 insertions, 10 deletions
diff --git a/dev-embedded/avr-libc/ChangeLog b/dev-embedded/avr-libc/ChangeLog
index d6196f3eb907..bfffc9957b95 100644
--- a/dev-embedded/avr-libc/ChangeLog
+++ b/dev-embedded/avr-libc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-embedded/avr-libc
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.34 2006/06/25 10:52:59 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/ChangeLog,v 1.35 2006/07/04 17:03:09 brix Exp $
+
+ 04 Jul 2006; Henrik Brix Andersen <brix@gentoo.org> avr-libc-1.4.4.ebuild:
+ Added check for avr-gcc, bug #134738.
25 Jun 2006; Henrik Brix Andersen <brix@gentoo.org>
-avr-libc-1.4.3.ebuild:
diff --git a/dev-embedded/avr-libc/Manifest b/dev-embedded/avr-libc/Manifest
index 9d669f620a4d..2353c076f5e9 100644
--- a/dev-embedded/avr-libc/Manifest
+++ b/dev-embedded/avr-libc/Manifest
@@ -19,14 +19,14 @@ EBUILD avr-libc-1.2.6.ebuild 1586 RMD160 394810bab484a0fed54e0c4f32f1207d6ace8e9
MD5 75917fe553149f57f44d6ed261720524 avr-libc-1.2.6.ebuild 1586
RMD160 394810bab484a0fed54e0c4f32f1207d6ace8e92 avr-libc-1.2.6.ebuild 1586
SHA256 2b3a78c547f8c0402942a2898ac7c768f4ecea61ba67f5f614cf9d8c54cfeb2c avr-libc-1.2.6.ebuild 1586
-EBUILD avr-libc-1.4.4.ebuild 1528 RMD160 7df62176387f8575069387dea25f9ea6ea8dd681 SHA1 7a7fae83262840c604b70057429978d5106ab855 SHA256 de0cb6eab4d0ad14a0a92b5158ff1ed7787c3257907e1c776ce82ebb3c6d85e7
-MD5 cc478761baf9185d8619329f8dfd639a avr-libc-1.4.4.ebuild 1528
-RMD160 7df62176387f8575069387dea25f9ea6ea8dd681 avr-libc-1.4.4.ebuild 1528
-SHA256 de0cb6eab4d0ad14a0a92b5158ff1ed7787c3257907e1c776ce82ebb3c6d85e7 avr-libc-1.4.4.ebuild 1528
-MISC ChangeLog 4476 RMD160 a58f8af2560e964b07417db7cf178906afbbb450 SHA1 11bd23667cf1a4e8f709c5773e316e5767c4284e SHA256 ffa422af30e926eabf39269f2126f7e9e2b6ca3719be37faceed42ed78e2a2cf
-MD5 fbf66e1be3a270da298439229b0581e6 ChangeLog 4476
-RMD160 a58f8af2560e964b07417db7cf178906afbbb450 ChangeLog 4476
-SHA256 ffa422af30e926eabf39269f2126f7e9e2b6ca3719be37faceed42ed78e2a2cf ChangeLog 4476
+EBUILD avr-libc-1.4.4.ebuild 1852 RMD160 173c0d3c20b91c393cb9b4594bdc2bd19e549c2a SHA1 c2c6c94c383f630473d242c1b5ce72cb85438167 SHA256 6aba58f198259cc2d7f112c296920e28fbf6c16eac29eeae9e4ef5f523c0f823
+MD5 a6fc01b58985c4cca5cb26414b9a832d avr-libc-1.4.4.ebuild 1852
+RMD160 173c0d3c20b91c393cb9b4594bdc2bd19e549c2a avr-libc-1.4.4.ebuild 1852
+SHA256 6aba58f198259cc2d7f112c296920e28fbf6c16eac29eeae9e4ef5f523c0f823 avr-libc-1.4.4.ebuild 1852
+MISC ChangeLog 4594 RMD160 2856c542b7c6bc372ebe5337e1cc77a785cc9ab2 SHA1 83d67217177df7e158f01054e17ef72b0ce89d4b SHA256 cc0eb4351b79d551cb938dafd00fbeed5bfdb327ed2726b1f5c32957c0f6508a
+MD5 7a3fabb4647dd527627ee958aa762005 ChangeLog 4594
+RMD160 2856c542b7c6bc372ebe5337e1cc77a785cc9ab2 ChangeLog 4594
+SHA256 cc0eb4351b79d551cb938dafd00fbeed5bfdb327ed2726b1f5c32957c0f6508a ChangeLog 4594
MISC metadata.xml 585 RMD160 f65d420387b1ca69ba6c3538730aa329c4ebe2db SHA1 4fc1725bdef1ff23099ac7b6e17d1036ded92b80 SHA256 53b5dfdc40693575527805944d89338a02a53bbd6a8ef92ab66675766d3c5391
MD5 344ed7ef46ebb29e928c6f475d8daca0 metadata.xml 585
RMD160 f65d420387b1ca69ba6c3538730aa329c4ebe2db metadata.xml 585
diff --git a/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild b/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild
index 23e64cd9f88a..6e1e945f5647 100644
--- a/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild
+++ b/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild,v 1.3 2006/06/09 12:06:55 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/avr-libc/avr-libc-1.4.4.ebuild,v 1.4 2006/07/04 17:03:09 brix Exp $
inherit flag-o-matic
@@ -20,6 +20,22 @@ DEPEND=">=sys-devel/crossdev-0.9.1"
&& RDEPEND="!dev-embedded/avr-libc" \
|| RDEPEND=""
+pkg_setup() {
+ # check for avr-gcc, bug #134738
+ ebegin "Checking for avr-gcc"
+ if command -v avr-gcc > /dev/null 2>&1; then
+ eend 0
+ else
+ eend 1
+
+ eerror
+ eerror "Failed to locate 'avr-gcc' in \$PATH. You can install an AVR toolchain using:"
+ eerror " $ crossdev -t avr"
+ eerror
+ die "AVR toolchain not found"
+ fi
+}
+
src_compile() {
export AS=avr-as AR=avr-ar RANLIB=avr-ranlib CC=avr-gcc ABI=retarded