/[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.53 Revision 1.54
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.53 2012/03/04 21:23:33 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.54 2012/03/06 00:58:38 floppym Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7if [[ ${PV} == "9999" ]] ; then 7if [[ ${PV} == "9999" ]] ; then
8 EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/" 8 EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/"
112} 112}
113 113
114grub_src_configure() { 114grub_src_configure() {
115 local platform=$1 115 local platform=$1
116 local target 116 local target
117 local transform="grub2"
118 local with_platform 117 local with_platform
119 118
120 [[ -z ${platform} ]] && die "${FUNCNAME} [platform]" 119 [[ -z ${platform} ]] && die "${FUNCNAME} [platform]"
121
122 if [[ ${platform} != "guessed" ]]; then
123 transform="grub2-${platform}"
124 fi
125 120
126 # check if we have to specify the target (EFI) 121 # check if we have to specify the target (EFI)
127 # or just append correct --with-platform 122 # or just append correct --with-platform
128 if [[ ${platform} == efi* ]]; then 123 if [[ ${platform} == efi* ]]; then
129 # EFI platform hack 124 # EFI platform hack
141 fi 136 fi
142 137
143 ECONF_SOURCE="${S}" \ 138 ECONF_SOURCE="${S}" \
144 econf \ 139 econf \
145 --disable-werror \ 140 --disable-werror \
146 --program-transform-name="s,grub,${transform}," \ 141 --program-transform-name="s,grub,grub2," \
147 --with-grubdir=grub2 \ 142 --with-grubdir=grub2 \
148 $(use_enable debug mm-debug) \ 143 $(use_enable debug mm-debug) \
149 $(use_enable debug grub-emu-usb) \ 144 $(use_enable debug grub-emu-usb) \
150 $(use_enable device-mapper) \ 145 $(use_enable device-mapper) \
151 $(use_enable efiemu) \ 146 $(use_enable efiemu) \

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20