blob: c5bac307e7ceafad5dea14399264fd8e7506c0e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="ia64 instruction set simulator"
HOMEPAGE="http://ski.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug motif"
RDEPEND="dev-libs/libltdl:0=
sys-libs/ncurses:0=
virtual/libelf
debug? ( sys-libs/binutils-libs:0= )
motif? ( x11-libs/motif:0= )"
DEPEND="${RDEPEND}
sys-devel/bison
sys-devel/flex
dev-util/gperf"
# games-sports/ski and app-emulation/ski both install 'ski' binary, bug #653110
RDEPEND="${RDEPEND} !!games-sports/ski"
PATCHES=(
"${FILESDIR}"/${P}-syscall-linux-includes.patch
"${FILESDIR}"/${P}-remove-hayes.patch
"${FILESDIR}"/${P}-no-local-ltdl.patch
"${FILESDIR}"/${P}-AC_C_BIGENDIAN.patch
"${FILESDIR}"/${P}-configure-withval.patch
"${FILESDIR}"/${P}-binutils.patch
"${FILESDIR}"/${P}-uselib.patch #592226
"${FILESDIR}"/${P}-ncurses-config.patch
"${FILESDIR}"/${P}-prototypes.patch
"${FILESDIR}"/${P}-glibc-2.28.patch
"${FILESDIR}"/${P}-gcc-10.patch #707144
"${FILESDIR}"/${P}-lex-deps.patch #744676
)
src_prepare() {
default
if has_version ">=sys-libs/binutils-libs-2.34"; then
eapply "${FILESDIR}"/${PN}-1.3.2-binutils-2.34.patch
fi
rm -rf libltdl src/ltdl.[ch] macros/ltdl.m4
AT_M4DIR="macros" eautoreconf
}
src_configure() {
econf \
--without-included-ltdl \
--without-gtk \
$(use_with motif x11) \
$(use_with debug bfd)
}
|