summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-11 14:04:32 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-11 14:04:32 +0000
commitea499c8ca5618e33316892dc9de84967d79adea3 (patch)
tree8f7148c3f32e32f8da0853dbd096e25657f56fdd /sys-boot
parentAdded to ~ppc (diff)
downloadhistorical-ea499c8ca5618e33316892dc9de84967d79adea3.tar.gz
historical-ea499c8ca5618e33316892dc9de84967d79adea3.tar.bz2
historical-ea499c8ca5618e33316892dc9de84967d79adea3.zip
fix src_test/BLOCK_SIZE and exporting of objdump cache var
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/grub/Manifest2
-rw-r--r--sys-boot/grub/grub-0.96-r1.ebuild12
2 files changed, 10 insertions, 4 deletions
diff --git a/sys-boot/grub/Manifest b/sys-boot/grub/Manifest
index 763d658e6eb3..04bc104f79b2 100644
--- a/sys-boot/grub/Manifest
+++ b/sys-boot/grub/Manifest
@@ -6,7 +6,7 @@ MD5 809624c41057bbc7d8d6917d1104edf8 grub-0.94-r1.ebuild 3564
MD5 e1561dae9a23012a8960909af3cffb29 grub-0.94-r2.ebuild 3680
MD5 548d207b20beedd265fda7bb126c22de grub-0.95.20040823.ebuild 4155
MD5 9cf2ac1a1d69d1a44917c87aa4dd49a3 grub-0.96.ebuild 4072
-MD5 75a4db415c1c9ac430fac645589940fa grub-0.96-r1.ebuild 4691
+MD5 eed25fdc921b68415d5cc0c3235e1f89 grub-0.96-r1.ebuild 4806
MD5 16039704cf1e6b6f46b4413532af082c files/digest-grub-0.92-r1 133
MD5 5d1c8e582496db9d7a9b77e76f09f7d8 files/digest-grub-0.93.20030118 139
MD5 8d898cd9d1928916596cc3f9883eac67 files/grub-0.93-gcc3.3.diff 639
diff --git a/sys-boot/grub/grub-0.96-r1.ebuild b/sys-boot/grub/grub-0.96-r1.ebuild
index f96491797145..6411aae65201 100644
--- a/sys-boot/grub/grub-0.96-r1.ebuild
+++ b/sys-boot/grub/grub-0.96-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.96-r1.ebuild,v 1.1 2005/03/11 05:14:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-0.96-r1.ebuild,v 1.2 2005/03/11 14:04:32 vapier Exp $
inherit mount-boot eutils flag-o-matic toolchain-funcs
@@ -77,7 +77,7 @@ src_compile() {
# -fno-stack-protector detected by configure, removed from netboot's emake.
append-flags -DNDEBUG
- echo "grub_cv_prog_objcopy_absolute=yes" > config.cache #79734
+ export grub_cv_prog_objcopy_absolute=yes #79734
use static && append-ldflags -static
# build the net-bootable grub first, but only if "netboot" is set
@@ -96,7 +96,7 @@ src_compile() {
emake w89c840_o_CFLAGS="-O" || die "making netboot stuff"
- mv -f stage2/{nbgrub,pxegrub} ${S}
+ mv -f stage2/{nbgrub,pxegrub} "${S}"/
mv -f stage2/stage2 stage2/stage2.netboot
make clean || die "make clean failed"
@@ -113,6 +113,12 @@ src_compile() {
emake || die "making regular stuff"
}
+src_test() {
+ # non-default block size also give false pass/fails.
+ unset BLOCK_SIZE
+ make check || die "make check failed"
+}
+
src_install() {
make DESTDIR="${D}" install || die
exeinto /usr/lib/grub