/[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.76 Revision 1.77
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.76 2012/07/01 22:11:04 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.77 2012/07/07 22:55:48 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/"
205grub_src_install() { 205grub_src_install() {
206 default_src_install 206 default_src_install
207} 207}
208 208
209src_prepare() { 209src_prepare() {
210 local i j
211
212 if [[ ${PV} != 9999 ]]; then 210 if [[ ${PV} != 9999 ]]; then
211 epatch "${FILESDIR}/${P}-parallel-make.patch" #424231
213 epatch "${FILESDIR}/${P}-manpage-race.patch" 212 epatch "${FILESDIR}/${P}-no-gets.patch" #424703
214 fi 213 fi
215 214
216 # fix texinfo file name, bug 416035 215 # fix texinfo file name, bug 416035
217 sed -i \ 216 sed -i \
218 -e 's/^\* GRUB:/* GRUB2:/' \ 217 -e 's/^\* GRUB:/* GRUB2:/' \
235 -e '/^bashcompletiondir =/s:=.*:= $(datarootdir)/bash-completion:' \ 234 -e '/^bashcompletiondir =/s:=.*:= $(datarootdir)/bash-completion:' \
236 util/bash-completion.d/Makefile.in || die 235 util/bash-completion.d/Makefile.in || die
237 236
238 # get enabled platforms 237 # get enabled platforms
239 GRUB_ENABLED_PLATFORMS="" 238 GRUB_ENABLED_PLATFORMS=""
239 local i
240 for i in ${GRUB_PLATFORMS[@]}; do 240 for i in ${GRUB_PLATFORMS[@]}; do
241 use grub_platforms_${i} && GRUB_ENABLED_PLATFORMS+=" ${i}" 241 use grub_platforms_${i} && GRUB_ENABLED_PLATFORMS+=" ${i}"
242 done 242 done
243 [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && GRUB_ENABLED_PLATFORMS="guessed" 243 [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && GRUB_ENABLED_PLATFORMS="guessed"
244 einfo "Going to build following platforms: ${GRUB_ENABLED_PLATFORMS}" 244 einfo "Going to build following platforms: ${GRUB_ENABLED_PLATFORMS}"

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.77

  ViewVC Help
Powered by ViewVC 1.1.20