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/freebsd-cddl | |
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/freebsd-cddl')
-rw-r--r-- | sys-freebsd/freebsd-cddl/ChangeLog | 9 | ||||
-rw-r--r-- | sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild | 53 |
2 files changed, 60 insertions, 2 deletions
diff --git a/sys-freebsd/freebsd-cddl/ChangeLog b/sys-freebsd/freebsd-cddl/ChangeLog index b760dc80ada8..37a4f7ede26b 100644 --- a/sys-freebsd/freebsd-cddl/ChangeLog +++ b/sys-freebsd/freebsd-cddl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-cddl -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.15 2011/12/09 13:18:58 aballier Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.16 2012/01/16 16:37:08 aballier Exp $ + +*freebsd-cddl-9.0 (16 Jan 2012) + + 16 Jan 2012; Alexis Ballier <aballier@gentoo.org> +freebsd-cddl-9.0.ebuild: + bump to 9.0 *freebsd-cddl-9.0_rc3 (09 Dec 2011) diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild new file mode 100644 index 000000000000..7da41e53976c --- /dev/null +++ b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0.ebuild,v 1.1 2012/01/16 16:37:08 aballier Exp $ + +inherit bsdmk freebsd flag-o-matic eutils + +DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software" +SLOT="0" +KEYWORDS="~x86-fbsd" + +IUSE="build" +LICENSE="CDDL" + +SRC_URI="mirror://gentoo/${P}.tar.bz2 + mirror://gentoo/${CONTRIB}.tar.bz2 + mirror://gentoo/${UBIN}.tar.bz2 + mirror://gentoo/${LIB}.tar.bz2 + mirror://gentoo/${SBIN}.tar.bz2 + mirror://gentoo/${SYS}.tar.bz2 + build? ( mirror://gentoo/${SYS}.tar.bz2 + mirror://gentoo/${INCLUDE}.tar.bz2 )" + +# sys is required. + +RDEPEND="=sys-freebsd/freebsd-lib-${RV}* + =sys-freebsd/freebsd-libexec-${RV}* + build? ( sys-apps/baselayout ) + dev-libs/libelf" + +DEPEND="${RDEPEND} + =sys-freebsd/freebsd-mk-defs-${RV}* + !build? ( =sys-freebsd/freebsd-sources-${RV}* )" + +S="${WORKDIR}/cddl" + +PATCHES=( "${FILESDIR}/${PN}-9.0-bsdxml.patch" + "${FILESDIR}/${PN}-9.0-underlink.patch" ) + +src_unpack() { + freebsd_src_unpack + # Link in include headers. + ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.." + # Force linking to new libraries + for i in "${S}/lib/"lib* ; do + append-ldflags " -L${i}" + done +} + +src_install() { + freebsd_src_install + # Install zfs volinit script. + newinitd "${FILESDIR}"/zvol.initd zvol +} |