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

Diff of /sys-boot/grub/grub-1.99_rc1.ebuild

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

Revision 1.3 Revision 1.4
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-1.99_rc1.ebuild,v 1.3 2011/04/10 14:34:42 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-1.99_rc1.ebuild,v 1.4 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
6 6
7inherit mount-boot eutils flag-o-matic toolchain-funcs 7inherit mount-boot eutils flag-o-matic toolchain-funcs
8 8
50 # need to eautomake due to weirdness #296013 50 # need to eautomake due to weirdness #296013
51 if [[ ${PV} == "9999" ]] ; then 51 if [[ ${PV} == "9999" ]] ; then
52 sed -i -e '/^autoreconf/s:^:e:' autogen.sh || die 52 sed -i -e '/^autoreconf/s:^:e:' autogen.sh || die
53 (. ./autogen.sh) || die 53 (. ./autogen.sh) || die
54 fi 54 fi
55
56 # install into the right dir for eselect #372735
57 sed -i \
58 -e '/^bashcompletiondir =/s:=.*:= $(datarootdir)/bash-completion:' \
59 util/bash-completion.d/Makefile.in || die
55} 60}
56 61
57src_compile() { 62src_compile() {
58 use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS 63 use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
59 use static && append-ldflags -static 64 use static && append-ldflags -static

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20