Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 204830 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +19 lines)
Line  Link Here
0
-- grub-0.97-r3.ebuild 2008-01-07 14:54:03.000000000 -0700
0
++ grub-0.97-r4.ebuild 2008-01-07 15:05:55.000000000 -0700
Lines 4-21 Link Here
4
4
5
inherit mount-boot eutils flag-o-matic toolchain-funcs autotools
5
inherit mount-boot eutils flag-o-matic toolchain-funcs autotools
6
6
7
IMAVER="${P}-13-ima-1.1.0.0"
7
PATCHVER="1.4"
8
PATCHVER="1.4"
8
DESCRIPTION="GNU GRUB Legacy boot loader"
9
DESCRIPTION="GNU GRUB Legacy boot loader"
9
HOMEPAGE="http://www.gnu.org/software/grub/"
10
HOMEPAGE="http://www.gnu.org/software/grub/"
10
SRC_URI="mirror://gentoo/${P}.tar.gz
11
SRC_URI="mirror://gentoo/${P}.tar.gz
11
       ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz
12
       ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz
12
       mirror://gentoo/splash.xpm.gz
13
       mirror://gentoo/splash.xpm.gz
13
       mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2"
14
       mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2
15
       tpm? ( mirror://sourceforge/trousers/${IMAVER}.tgz )"
14
16
15
LICENSE="GPL-2"
17
LICENSE="GPL-2"
16
SLOT="0"
18
SLOT="0"
17
KEYWORDS="amd64 x86 ~x86-fbsd"
19
KEYWORDS="amd64 x86 ~x86-fbsd"
18
IUSE="static netboot custom-cflags"
20
IUSE="static netboot custom-cflags tpm"
19
21
20
DEPEND=">=sys-libs/ncurses-5.2-r5"
22
DEPEND=">=sys-libs/ncurses-5.2-r5"
21
PROVIDE="virtual/bootloader"
23
PROVIDE="virtual/bootloader"
Lines 32-37 Link Here
32
               epatch "${WORKDIR}"/patch
34
               epatch "${WORKDIR}"/patch
33
               eautoreconf
35
               eautoreconf
34
       fi
36
       fi
37
38
       if use tpm ; then
39
               # The IMA patches fail on configure.ac due to incompatible patches, this
40
               # cleans out the bit of their patch that fails.
41
               cd "${WORKDIR}/${IMAVER}"
42
               epatch "${FILESDIR}/${P}-ima-gentoo.patch"
43
               cd "${S}"
44
               epatch "${WORKDIR}/${IMAVER}/${IMAVER}.patch"
45
               eautoreconf
46
       fi
35
}
47
}
36
48
37
src_compile() {
49
src_compile() {
Lines 64-69 Link Here
64
               --libdir=/lib \
76
               --libdir=/lib \
65
               --datadir=/usr/lib/grub \
77
               --datadir=/usr/lib/grub \
66
               --exec-prefix=/ \
78
               --exec-prefix=/ \
79
               $(use_enable tpm ima) \
80
               $(use_enable tpm imatest) \
67
               --disable-auto-linux-mem-opt \
81
               --disable-auto-linux-mem-opt \
68
               --enable-diskless \
82
               --enable-diskless \
69
               --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \
83
               --enable-{3c{5{03,07,09,29,95},90x},cs89x0,davicom,depca,eepro{,100}} \
Lines 85-90 Link Here
85
               --libdir=/lib \
99
               --libdir=/lib \
86
               --datadir=/usr/lib/grub \
100
               --datadir=/usr/lib/grub \
87
               --exec-prefix=/ \
101
               --exec-prefix=/ \
102
               $(use_enable tpm ima) \
103
               $(use_enable tpm imatest) \
88
               --disable-auto-linux-mem-opt || die "econf failed"
104
               --disable-auto-linux-mem-opt || die "econf failed"
89
       emake || die "making regular stuff"
105
       emake || die "making regular stuff"
90
}
106
}

Return to bug 204830