mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-kernel/hurd: drop 0.9
I wanted to include the last releases for historical purposes in some sense but no point keeping them in-tree, barely tested them and I expect issues with them fixed since then. So, cleanup, but they're in history forever :) Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST hurd-0.9.tar.bz2 2464800 BLAKE2B 71421acbe9a42b4c7c3b1af9a19fe6973510e9afd8a98569868521d3678d8cf75f0169a15f98d17de11729bbbaf4a667952fef4b2dc9cc864ffa48f5e62aa016 SHA512 715915c9bcb8f1f2102131e38931c2e151737ab7a2199f2e335f8e0b17439fde1fd1e6b6d681546391251043ba2c6ff3913cd80e9bb9f7bb83a93ef9afcb31b0
|
||||
DIST hurd_0.9.git20251029.orig.tar.bz2 2047762 BLAKE2B a349bb475e966ed824b1a31b8f76edd72bef5a3c149ec810de140462893eca9d01f45784645f996b75b6277da49f75f2db524cc548febbcb46c2621ba024db3e SHA512 7322236abdea9bea0885983580890f3ed6393e567b6c1a5c52ffe40e76694e887eb22c1da5743e215a2c74b0e22af1457cd95fc517a6371e564da412378c2736
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit crossdev flag-o-matic
|
||||
|
||||
DESCRIPTION="GNU Hurd is the GNU project's replacement for UNIX"
|
||||
HOMEPAGE="https://www.gnu.org/software/hurd/hurd.html"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/hurd/hurd.git"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
|
||||
|
||||
KEYWORDS="~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="headers-only"
|
||||
|
||||
if is_crosspkg ; then
|
||||
BDEPEND="
|
||||
!headers-only? ( cross-${CTARGET}/mig )
|
||||
"
|
||||
else
|
||||
BDEPEND="
|
||||
dev-util/mig
|
||||
"
|
||||
fi
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if target_is_not_host ; then
|
||||
local sysroot=/usr/${CTARGET}
|
||||
export MIG="${CTARGET}-mig"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--prefix="${EPREFIX}${sysroot}/usr"
|
||||
--datadir="${EPREFIX}${sysroot}/usr/share"
|
||||
--host=${CTARGET}
|
||||
)
|
||||
|
||||
if use headers-only ; then
|
||||
myeconfargs+=(
|
||||
ac_cv_func_file_exec_paths=no
|
||||
ac_cv_func_exec_exec_paths=no
|
||||
ac_cv_func__hurd_exec_paths=no
|
||||
ac_cv_func__hurd_libc_proc_init=no
|
||||
ac_cv_func_mach_port_set_ktype=no
|
||||
ac_cv_func_file_utimens=no
|
||||
|
||||
# TODO: Wire these up to not be automagic for
|
||||
# USE=-headers-only!
|
||||
--without-libcrypt
|
||||
--without-parted
|
||||
--without-libbz2
|
||||
--without-libz
|
||||
--without-rump
|
||||
--disable-ncursesw
|
||||
)
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use headers-only && return
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
use headers-only && return
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" $(usex headers-only install-headers install) no_deps=t
|
||||
|
||||
if target_is_not_host ; then
|
||||
# TODO: Is this needed?
|
||||
# On Hurd, gcc expects system headers to be in /include, not /usr/include
|
||||
dosym usr/include /usr/${CTARGET}/include
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user