blob: 074f40e2f5baa27eebcf8e2ae4b6dcfe99dab252 (
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
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
DESCRIPTION="Athena Widgets with N*XTSTEP appearance"
HOMEPAGE="https://siag.nu/neXtaw/"
SRC_URI="https://siag.nu/pub/neXtaw/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
RDEPEND="
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXext
x11-libs/libXmu
x11-libs/libXpm
x11-libs/libXt
x11-libs/libxkbfile"
DEPEND="
${RDEPEND}
x11-base/xorg-proto"
BDEPEND="
app-alternatives/lex
app-alternatives/yacc"
PATCHES=(
"${FILESDIR}"/${P}-clang16.patch
)
src_prepare() {
default
# Clang 16, bug #879779
eautoreconf
}
src_configure() {
append-cflags -std=gnu89 # old codebase, incompatible with c2x
append-cflags -fno-strict-aliasing #864535
default
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}
|