/[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.84 Revision 1.85
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.84 2012/10/18 12:41:14 ottxor Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.85 2012/10/20 21:46:34 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/"
214 214
215grub_install_docs() { 215grub_install_docs() {
216 emake -C docs DESTDIR="${D}" install-html 216 emake -C docs DESTDIR="${D}" install-html
217} 217}
218 218
219pkg_pretend() {
220 if [[ ${MERGE_TYPE} != binary ]]; then
221 # Bug 439082
222 if $(tc-getLD) --version | grep -q "GNU gold"; then
223 eerror "GRUB does not function correctly when built with the gold linker."
224 eerror "Please select the bfd linker with binutils-config."
225 die "GNU gold detected"
226 fi
227 fi
228}
229
219src_prepare() { 230src_prepare() {
220 if [[ ${PV} != 9999 ]]; then 231 if [[ ${PV} != 9999 ]]; then
221 epatch "${FILESDIR}/${P}-parallel-make.patch" #424231 232 epatch "${FILESDIR}/${P}-parallel-make.patch" #424231
222 epatch "${FILESDIR}/${P}-no-gets.patch" #424703 233 epatch "${FILESDIR}/${P}-no-gets.patch" #424703
223 epatch "${FILESDIR}/${P}-config-quoting.patch" #426364 234 epatch "${FILESDIR}/${P}-config-quoting.patch" #426364

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.85

  ViewVC Help
Powered by ViewVC 1.1.20