/[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.16 Revision 1.17
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2010 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.16 2009/11/22 17:34:52 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.17 2010/01/10 06:09:56 vapier Exp $
4 4
5inherit autotools mount-boot eutils flag-o-matic toolchain-funcs 5inherit mount-boot eutils flag-o-matic toolchain-funcs
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"
9 inherit bzr 9 inherit autotools bzr
10 SRC_URI="" 10 SRC_URI=""
11else 11else
12 SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz 12 SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz
13 mirror://gentoo/${P}.tar.gz" 13 mirror://gentoo/${P}.tar.gz"
14fi 14fi
39 cd "${S}" 39 cd "${S}"
40 epatch "${FILESDIR}"/${PN}-1.96-genkernel.patch #256335 40 epatch "${FILESDIR}"/${PN}-1.96-genkernel.patch #256335
41 epatch_user 41 epatch_user
42 42
43 # autogen.sh does more than just run autotools 43 # autogen.sh does more than just run autotools
44 if [[ ${PV} == "9999" ]] ; then
44 sed -i -e 's:^auto:eauto:' autogen.sh 45 sed -i -e '/^\(auto\|ac\)/s:^:e:' autogen.sh
45 (. ./autogen.sh) || die 46 (. ./autogen.sh) || die
47 fi
46} 48}
47 49
48src_compile() { 50src_compile() {
49 use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS 51 use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
50 use static && append-ldflags -static 52 use static && append-ldflags -static

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20