/[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.33 Revision 1.34
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.33 2011/05/29 17:25:05 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.34 2011/06/28 16:33:29 vapier Exp $
4 4
5# XXX: need to implement a grub.conf migration in pkg_postinst before we ~arch 5# XXX: need to implement a grub.conf migration in pkg_postinst before we ~arch
6EAPI="2" 6EAPI="2"
7 7
8inherit mount-boot eutils flag-o-matic toolchain-funcs 8inherit mount-boot eutils flag-o-matic toolchain-funcs
45 # need to eautomake due to weirdness #296013 45 # need to eautomake due to weirdness #296013
46 if [[ ${PV} == "9999" ]] ; then 46 if [[ ${PV} == "9999" ]] ; then
47 sed -i -e '/^autoreconf/s:^:set +e; e:' autogen.sh || die 47 sed -i -e '/^autoreconf/s:^:set +e; e:' autogen.sh || die
48 (. ./autogen.sh) || die 48 (. ./autogen.sh) || die
49 fi 49 fi
50
51 # install into the right dir for eselect #372735
52 sed -i \
53 -e '/^bashcompletiondir =/s:=.*:= $(datarootdir)/bash-completion:' \
54 util/bash-completion.d/Makefile.in || die
50} 55}
51 56
52src_configure() { 57src_configure() {
53 use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS 58 use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
54 use static && append-ldflags -static 59 use static && append-ldflags -static

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.20