/[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.75 Revision 1.76
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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.75 2012/07/01 21:31:16 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.76 2012/07/01 22:11:04 floppym Exp $
4 4
5EAPI=4 5EAPI=4
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/"
207} 207}
208 208
209src_prepare() { 209src_prepare() {
210 local i j 210 local i j
211 211
212 if [[ ${PV} != 9999 ]]; then
212 epatch "${FILESDIR}/${P}-manpage-race.patch" 213 epatch "${FILESDIR}/${P}-manpage-race.patch"
214 fi
213 215
214 # fix texinfo file name, bug 416035 216 # fix texinfo file name, bug 416035
215 sed -i \ 217 sed -i \
216 -e 's/^\* GRUB:/* GRUB2:/' \ 218 -e 's/^\* GRUB:/* GRUB2:/' \
217 -e 's/(grub)/(grub2)/' -- \ 219 -e 's/(grub)/(grub2)/' -- \
243} 245}
244 246
245src_configure() { 247src_configure() {
246 local i 248 local i
247 249
248 use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS 250 use custom-cflags || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS
249 use static && append-ldflags -static 251 use static && append-ldflags -static
250 252
251 # Sandbox bug 404013. 253 # Sandbox bug 404013.
252 use libzfs && addpredict /etc/dfs:/dev/zfs 254 use libzfs && addpredict /etc/dfs:/dev/zfs
253 255

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76

  ViewVC Help
Powered by ViewVC 1.1.20