Line
Link Here
|
0 |
-- a/grub-2.00-r4.ebuild 2013-07-24 10:11:24.424040466 -0400 |
0 |
++ b/grub-2.00-r4.ebuild 2013-07-24 10:11:54.036039071 -0400 |
Lines 129-145
Link Here
|
129 |
usr/lib.*/grub/.*/kernel.img |
129 |
usr/lib.*/grub/.*/kernel.img |
130 |
" |
130 |
" |
131 |
|
131 |
|
132 |
pkg_pretend() { |
|
|
133 |
if [[ ${MERGE_TYPE} != binary ]]; then |
134 |
# Bug 439082 |
135 |
if $(tc-getLD) --version | grep -q "GNU gold"; then |
136 |
eerror "GRUB does not function correctly when built with the gold linker." |
137 |
eerror "Please select the bfd linker with binutils-config." |
138 |
die "GNU gold detected" |
139 |
fi |
140 |
fi |
141 |
} |
142 |
|
143 |
src_prepare() { |
132 |
src_prepare() { |
144 |
[[ ${PATCHES} ]] && epatch "${PATCHES[@]}" |
133 |
[[ ${PATCHES} ]] && epatch "${PATCHES[@]}" |
145 |
sed -i -e /autoreconf/d autogen.sh || die |
134 |
sed -i -e /autoreconf/d autogen.sh || die |
Lines 194-199
Link Here
|
194 |
|
183 |
|
195 |
if use multislot; then |
184 |
if use multislot; then |
196 |
myeconfargs+=( |
185 |
myeconfargs+=( |
|
|
186 |
append-cflags "-fuse-ld=bfd" |
187 |
|
197 |
--program-transform-name="s,grub,grub2," |
188 |
--program-transform-name="s,grub,grub2," |
198 |
--with-grubdir=grub2 |
189 |
--with-grubdir=grub2 |
199 |
) |
190 |
) |