From ca9e5b8d21106fc8b120a634b2760c4c5af7311a Mon Sep 17 00:00:00 2001 From: Andrei Horodniceanu Date: Tue, 5 Nov 2024 12:30:36 +0200 Subject: dev-lang/dmd: add 9999 Closes: https://github.com/gentoo/dlang/issues/132 Signed-off-by: Andrei Horodniceanu --- dev-lang/dmd/dmd-9999.ebuild | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dev-lang/dmd/dmd-9999.ebuild (limited to 'dev-lang/dmd') diff --git a/dev-lang/dmd/dmd-9999.ebuild b/dev-lang/dmd/dmd-9999.ebuild new file mode 100644 index 0000000..1105fc8 --- /dev/null +++ b/dev-lang/dmd/dmd-9999.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} != *9999* ]]; then + KEYWORDS="-* ~amd64 ~x86" +else + BOOTSTRAP_VERSION=2.109.1 +fi +DLANG_COMPAT=( dmd-2_{106..109} gdc-1{3,4} ldc2-1_{35..39} ) + +inherit dmd-r1 + +# Support the 9999 directory name in /usr/lib/dmd instead of 2.XXX +[[ ${PV} == *9999* ]] && IDEPEND=">=app-eselect/eselect-dlang-20241105" + +PATCHES=( + "${FILESDIR}/2.107-dmd-r1-link-32-bit-shared-lib-with-ld.bfd.patch" +) -- cgit v1.2.3-65-gdbad