/[gentoo-x86]/sys-boot/grub/grub-9999.ebuild
Gentoo

Diff of /sys-boot/grub/grub-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 Revision 1.12
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.11 2009/07/05 04:17:11 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.12 2009/09/30 02:58:10 vapier Exp $
4 4
5inherit autotools mount-boot eutils flag-o-matic toolchain-funcs 5inherit autotools mount-boot eutils flag-o-matic toolchain-funcs
6 6
7if [[ ${PV} == "9999" ]] ; then 7if [[ ${PV} == "9999" ]] ; then
8 ESVN_REPO_URI="svn://svn.sv.gnu.org/grub/trunk/grub2" 8 ESVN_REPO_URI="svn://svn.sv.gnu.org/grub/trunk/grub2"
36 else 36 else
37 unpack ${A} 37 unpack ${A}
38 fi 38 fi
39 cd "${S}" 39 cd "${S}"
40 epatch "${FILESDIR}"/${PN}-1.96-genkernel.patch #256335 40 epatch "${FILESDIR}"/${PN}-1.96-genkernel.patch #256335
41 sed -i 's:-Werror::' conf/*.rmk || die #269887
42 41
43 # autogen.sh does more than just run autotools 42 # autogen.sh does more than just run autotools
44 sed -i -e 's:^auto:eauto:' autogen.sh 43 sed -i -e 's:^auto:eauto:' autogen.sh
45 (. ./autogen.sh) || die 44 (. ./autogen.sh) || die
46} 45}
48src_compile() { 47src_compile() {
49 use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS 48 use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
50 use static && append-ldflags -static 49 use static && append-ldflags -static
51 50
52 econf \ 51 econf \
52 --disable-werror \
53 --sbindir=/sbin \ 53 --sbindir=/sbin \
54 --bindir=/bin \ 54 --bindir=/bin \
55 --libdir=/$(get_libdir) \ 55 --libdir=/$(get_libdir) \
56 --disable-efiemu \ 56 --disable-efiemu \
57 --disable-grub-pe2elf \ 57 --disable-grub-pe2elf \

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.20