From 5e1ec97b8b443ef53f7ac6f3b979d9065a6afc1b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 14 Jul 2017 16:33:33 +0100 Subject: sys-apps/v86d : fix broken build --- sys-apps/v86d/v86d-0.1.10-r1.ebuild | 56 +++++++++++++++++++++++++++++++++++++ sys-apps/v86d/v86d-0.1.10.ebuild | 56 ------------------------------------- 2 files changed, 56 insertions(+), 56 deletions(-) create mode 100644 sys-apps/v86d/v86d-0.1.10-r1.ebuild delete mode 100644 sys-apps/v86d/v86d-0.1.10.ebuild (limited to 'sys-apps') diff --git a/sys-apps/v86d/v86d-0.1.10-r1.ebuild b/sys-apps/v86d/v86d-0.1.10-r1.ebuild new file mode 100644 index 00000000..c88ca6a1 --- /dev/null +++ b/sys-apps/v86d/v86d-0.1.10-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 + +inherit eutils flag-o-matic linux-info multilib + +DESCRIPTION="A daemon to run x86 code in an emulated environment" +HOMEPAGE="https://dev.gentoo.org/~spock/projects/uvesafb/" +SRC_URI="https://dev.gentoo.org/~spock/projects/uvesafb/archive/${P/_/-}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug x86emu" + +DEPEND="dev-libs/klibc" +RDEPEND="" + +S="${WORKDIR}/${P//_*/}" + +pkg_setup() { + linux-info_pkg_setup +} + +src_prepare() { + if [ -z "$(grep V86D ${ROOT}/usr/$(get_libdir)/klibc/include/linux/connector.h)" ]; then + eerror "You need to compile klibc against a kernel tree patched with uvesafb" + eerror "prior to merging this package." + die "Kernel not patched with uvesafb." + fi +} + +src_configure() { + ./configure --with-klibc $(use_with debug) $(use_with x86emu) || die +} + +src_compile() { + # Disable stack protector, as it does not work with klibc (bug #346397). + filter-flags -fstack-protector -fstack-protector-all + emake KDIR="/usr" || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc README ChangeLog + + insinto /usr/share/${PN} + doins misc/initramfs +} + +pkg_postinst() { + elog "If you wish to place v86d into an initramfs image, you might want to use" + elog "'/usr/share/${PN}/initramfs' in your kernel's CONFIG_INITRAMFS_SOURCE." +} diff --git a/sys-apps/v86d/v86d-0.1.10.ebuild b/sys-apps/v86d/v86d-0.1.10.ebuild deleted file mode 100644 index 8cd85d8d..00000000 --- a/sys-apps/v86d/v86d-0.1.10.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=2 - -inherit eutils flag-o-matic linux-info multilib - -DESCRIPTION="A daemon to run x86 code in an emulated environment" -HOMEPAGE="https://dev.gentoo.org/~spock/projects/uvesafb/" -SRC_URI="https://dev.gentoo.org/~spock/projects/uvesafb/archive/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug x86emu" - -DEPEND="dev-libs/klibc" -RDEPEND="" - -S="${WORKDIR}/${P//_*/}" - -pkg_setup() { - linux-info_pkg_setup -} - -src_prepare() { - if [ -z "$(grep V86D ${ROOT}/usr/$(get_libdir)/klibc/include/linux/connector.h)" ]; then - eerror "You need to compile klibc against a kernel tree patched with uvesafb" - eerror "prior to merging this package." - die "Kernel not patched with uvesafb." - fi -} - -src_configure() { - ./configure --with-klibc $(use_with debug) $(use_with x86emu) || die -} - -src_compile() { - # Disable stack protector, as it does not work with klibc (bug #346397). - filter-flags -fstack-protector -fstack-protector-all - emake KDIR="${KV_DIR}" || die -} - -src_install() { - emake DESTDIR="${D}" install || die - - dodoc README ChangeLog - - insinto /usr/share/${PN} - doins misc/initramfs -} - -pkg_postinst() { - elog "If you wish to place v86d into an initramfs image, you might want to use" - elog "'/usr/share/${PN}/initramfs' in your kernel's CONFIG_INITRAMFS_SOURCE." -} -- cgit v1.2.3