diff options
author | Alexis Ballier <aballier@gentoo.org> | 2012-01-16 16:37:09 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2012-01-16 16:37:09 +0000 |
commit | 76438e0041cd983d527abc63fd3bbc711c87e526 (patch) | |
tree | a2dd1983d9fd656e04f65078f95d25b037d1d383 /sys-freebsd/boot0 | |
parent | Initial commit for media-sound/podracer. Bug 152608 by Thomas Tuttle with upd... (diff) | |
download | gentoo-2-76438e0041cd983d527abc63fd3bbc711c87e526.tar.gz gentoo-2-76438e0041cd983d527abc63fd3bbc711c87e526.tar.bz2 gentoo-2-76438e0041cd983d527abc63fd3bbc711c87e526.zip |
bump to 9.0
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd/boot0')
-rw-r--r-- | sys-freebsd/boot0/ChangeLog | 9 | ||||
-rw-r--r-- | sys-freebsd/boot0/boot0-9.0.ebuild | 52 |
2 files changed, 59 insertions, 2 deletions
diff --git a/sys-freebsd/boot0/ChangeLog b/sys-freebsd/boot0/ChangeLog index 5bf3c0884c0f..7a1b2e6606fe 100644 --- a/sys-freebsd/boot0/ChangeLog +++ b/sys-freebsd/boot0/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/boot0 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.30 2011/12/09 13:18:05 aballier Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.31 2012/01/16 16:37:08 aballier Exp $ + +*boot0-9.0 (16 Jan 2012) + + 16 Jan 2012; Alexis Ballier <aballier@gentoo.org> +boot0-9.0.ebuild: + bump to 9.0 *boot0-9.0_rc3 (09 Dec 2011) diff --git a/sys-freebsd/boot0/boot0-9.0.ebuild b/sys-freebsd/boot0/boot0-9.0.ebuild new file mode 100644 index 000000000000..c3f1bf344193 --- /dev/null +++ b/sys-freebsd/boot0/boot0-9.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-9.0.ebuild,v 1.1 2012/01/16 16:37:08 aballier Exp $ + +EAPI=2 + +inherit bsdmk freebsd flag-o-matic + +DESCRIPTION="FreeBSD's bootloader" +SLOT="0" +KEYWORDS="~sparc-fbsd ~x86-fbsd" + +IUSE="bzip2 ieee1394 tftp zfs" + +SRC_URI="mirror://gentoo/${SYS}.tar.bz2" + +RDEPEND="" +DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* + =sys-freebsd/freebsd-lib-${RV}*" + +S="${WORKDIR}/sys/boot" + +boot0_use_enable() { + use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" +} + +pkg_setup() { + boot0_use_enable ieee1394 FIREWIRE + boot0_use_enable zfs ZFS + boot0_use_enable tftp TFTP + boot0_use_enable bzip2 BZIP2 +} + +src_prepare() { + sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ + -i "${S}"/i386/boot2/Makefile \ + -i "${S}"/i386/gptboot/Makefile \ + -i "${S}"/i386/gptzfsboot/Makefile \ + -i "${S}"/i386/zfsboot/Makefile || die +} + +src_compile() { + strip-flags + append-flags "-I/usr/include/libstand/" + append-flags "-fno-strict-aliasing" + NOFLAGSTRIP="yes" freebsd_src_compile +} + +src_install() { + dodir /boot/defaults + mkinstall FILESDIR=/boot || die "mkinstall failed" +} |