summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-firmware/sgabios/ChangeLog9
-rw-r--r--sys-firmware/sgabios/Manifest20
-rw-r--r--sys-firmware/sgabios/sgabios-0.1_pre8.ebuild16
3 files changed, 37 insertions, 8 deletions
diff --git a/sys-firmware/sgabios/ChangeLog b/sys-firmware/sgabios/ChangeLog
index 6179676e516f..61f206e87fd6 100644
--- a/sys-firmware/sgabios/ChangeLog
+++ b/sys-firmware/sgabios/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-firmware/sgabios
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/ChangeLog,v 1.3 2012/11/21 21:02:28 ago Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/ChangeLog,v 1.4 2013/06/30 02:36:19 cardoe Exp $
+
+ 30 Jun 2013; Doug Goldstein <cardoe@gentoo.org> sgabios-0.1_pre8.ebuild:
+ For users using the gold linker, make the build process a little more friendly
+ by automatically selecting the bfd linker and pointing them to the bug
+ explaining why gold won't work. bug #438056
21 Nov 2012; Agostino Sarubbo <ago@gentoo.org> sgabios-0.1_pre8.ebuild:
Stable for x86, wrt to bug #440092
diff --git a/sys-firmware/sgabios/Manifest b/sys-firmware/sgabios/Manifest
index 58f0fcc596f0..bc1644865983 100644
--- a/sys-firmware/sgabios/Manifest
+++ b/sys-firmware/sgabios/Manifest
@@ -1,6 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX sgabios-0.1_pre8-makefile.patch 395 SHA256 d618fc84175cd31c8f8dc7887ad448455e4a404af272b242fac4013235b657cc SHA512 7c111af2fff59b0ca6d4b39d04715d404bffa0f71a337b43f7dd091af6e40e85b790ed8b560039d5702d07e1ae47f2c204e891373f11d2ee4aa1541cb471c566 WHIRLPOOL 056f71911a94e90781bf677b8a06903a45a94cf708d743169b2974ba4472220c9875685faa387c20831a9827984b188287de812ca032ff395c33373de9736786
DIST sgabios-0.1_pre8-bins.tar.xz 2704 SHA256 f982ec467790432f6be662bd58b51e78f80184229ecab5f23d4c0ea2419c1b9d SHA512 46fc02200b3fa2e45c954a2b6e4cd40f10d6969fd05ef4d441402c7390b4e83390250972ef0ea891635400cad22a4d8fd2b66b56afa91d03e1e0b99132e09c0d WHIRLPOOL 7b30b6a40f7b8d5b03482179f48c23910283e45f8eaac538533b5d24289d1ada6d0e6e5ecac3260e46dedc2a1e325fa096b3ae505b96fd1716e98f80be0d209e
DIST sgabios-0.1_pre8.tar.xz 27200 SHA256 d6f01fe343828c3323c45c000b5a2f906f1c3aa6f788ca8b31669b4a05a3d31d SHA512 68e2a894eb5b99cda2b0e96ade891e24397ac962a777a97dbb526f4570e5734d36a88fde1ef64ed7a887cd8bfc500c91c48849d2c26aca6ce7e36dd80aaf361e WHIRLPOOL de12b91a0304d6465186b9959d873061205bb055823408c84370a7563b46acd7cc955eab6e8b78a54d928bbb65281a9236e4c434fc5df707c5fffc160e311bd2
-EBUILD sgabios-0.1_pre8.ebuild 866 SHA256 bfe3e2cb14df8346bc2df9d28dc488e4cf0880a37d016130973d7bc767edbcd5 SHA512 e27b7668d452678ecace72b8761e96bdd97e4390a94fc572f5d524f98d037be1ab63c9972ff42c76ccc76c59012bb41b6cdcb0efdcd19926b59a95b09e4b0f67 WHIRLPOOL 3ca90ae3959311cc306ce4ee59c42fadb6a38835165e4b4afac000c3c360d94eaebc8a471a69c303d9e4e40baa0f343a3c3cb8cf491cc380791fa251d620c360
-MISC ChangeLog 713 SHA256 eb1483474dc5a26eab3074fc3869ebea074b9030313a4da1bef30517b5b5b781 SHA512 2d78df31b14147d0c293ce200fdc374f0a59cc7619c17627e40ff4ffcc87dafac681f8139b3e0a01a8dd063896a7da005836e6b5087cacbad483078b4806f7e3 WHIRLPOOL e67fc5807ab9b2ca352f783c06db5b04d157b28589c96ecc928e1db15325b22c7bf68465a676ba95e28385a604d68501709d1401f9636ebcfd0c6081485df052
+EBUILD sgabios-0.1_pre8.ebuild 1122 SHA256 b67f9e7ca85c1e89d8d1cf9b2c7e43146be40d1e4713ebbcca194f8c6eb45aa6 SHA512 f2c37ef40b877a17a5480ef60b7b3c39916178a61ef93be3e46460b26dbcdb0ce467091836498be90763e3874559f192ecea3b3cc49365ef7dd2c7d65eab0f3b WHIRLPOOL 3b528be9913203a746edc0e85e0e54799b96a97f0893cce63fdba89ffbac583352e3faf48ce5efb046817ed42c72905c0a5e346766902af1b32bec86622439c9
+MISC ChangeLog 992 SHA256 d2f782f2a207ffa76b0654f63ef6c936b861ea66cb51c829cab76cf3aa4ed964 SHA512 ee4745a2c13db8f1629ee9417728c6dadecd9b2d8236895b5172be75116ea8625cdf4905640b15b17489bcb3f50985a2da998b0a2865d3dfb5d84f3583162072 WHIRLPOOL af09cae31b4ca486b0edead655f06685dd5c9d1dc01c39f9e09d90ea81b314a7b4d7404bc3ee04795c491eac50e56b2f1ddbe41dafddb1a2a5a589d9fbfb3808
MISC metadata.xml 253 SHA256 c9ca6980b185e0d86b42303a98572fd62ea4e18a796679b1583a4990bb40da7d SHA512 e313f627ded525c99fc31aeed49d1a59b532a7c108239f2f680c053cfe536c67a29d630171b900adbfbd04fb6230148b3a82d5f62a6b9c937caf6cb1ed9beefa WHIRLPOOL 7c1e1f886ef70ed91d2879fe9d1a67ada183f96b3ae6c3869acdcbce0f8677566f16e18a2cdfe7472432fd5e5649b6b68046db1b9633736e4b182c91196b472f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iQF8BAEBCABmBQJRz5mkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDMDRGNEJFMDZEQTJGRUY3NkI4MEM3NTlE
+N0RGQThEMzE4RkE5QUVGAAoJENffqNMY+prvfmcH/j074XSDQr9AtSMVfYoYqNyO
+Xgict+FJdOz0/lO0ruavxcZIe9c/JERkyyi1HJm6qUUx6DSnD8Fm90+dYhgj4ZDp
++75pkkquXDBnnMU5l++rStMZ6+Ed1bkF0qQ7rB/ZR4MatG8vJFVT+sjcFqMkJxHt
+2tdVA3BeVdH15H7H/nwigYnMdV+aG1wZwyhxtID/8Sy0jIiHYJSAw1EwMLJZFT/6
+ZX/YAmtBcUBdRWI6eF70gBAQqIIn+UaY5tn0G1uWV6iNMK48OtBG67pquXKJcLJT
+ncTZlRNtMd+vGKnSFs6WLv6umYTKQyyuz/bh3Rzybp+pOR14FBmvxxBuOoTG1NY=
+=3r6B
+-----END PGP SIGNATURE-----
diff --git a/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild b/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild
index b6462e6be3a9..9a3a8d5e7b39 100644
--- a/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild
+++ b/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild,v 1.3 2012/11/21 21:02:28 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild,v 1.4 2013/06/30 02:36:19 cardoe Exp $
EAPI=4
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="serial graphics adapter bios option rom for x86"
HOMEPAGE="http://code.google.com/p/sgabios/"
@@ -20,13 +20,21 @@ IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
+pkg_setup() {
+ local myld=$(tc-getLD)
+
+ ${myld} -v | grep -q "GNU gold" && \
+ ewarn "gold linker unable to handle 16-bit code using ld.bfd. bug #438058"
+}
+
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
}
src_compile() {
if use amd64 || use x86 ; then
- emake
+ emake CC=$(tc-getCC) LD="$(tc-getLD).bfd" AR=$(tc-getAR) \
+ OBJCOPY=$(tc-getOBJCOPY)
fi
}