diff options
Diffstat (limited to 'x11-libs/neXtaw/neXtaw-0.15.1-r5.ebuild')
-rw-r--r-- | x11-libs/neXtaw/neXtaw-0.15.1-r5.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/x11-libs/neXtaw/neXtaw-0.15.1-r5.ebuild b/x11-libs/neXtaw/neXtaw-0.15.1-r5.ebuild new file mode 100644 index 000000000000..581a5a855fc0 --- /dev/null +++ b/x11-libs/neXtaw/neXtaw-0.15.1-r5.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 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 ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" + +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=" + sys-devel/flex + 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 +} |