diff options
author | Marco Leise <marco.leise@gmx.de> | 2019-12-21 18:45:56 +0100 |
---|---|---|
committer | Marco Leise <marco.leise@gmx.de> | 2019-12-21 18:58:15 +0100 |
commit | c722490a674f4585d8abc2cf2cddd2c262b4dd8f (patch) | |
tree | 9f9113c4f90472bb6f6a5937b25f6392f7163116 /dev-lang | |
parent | Fixes #80: eninja fails in installing phase with ACCESS DENIED (diff) | |
download | dlang-c722490a674f4585d8abc2cf2cddd2c262b4dd8f.tar.gz dlang-c722490a674f4585d8abc2cf2cddd2c262b4dd8f.tar.bz2 dlang-c722490a674f4585d8abc2cf2cddd2c262b4dd8f.zip |
stabilization sweep & removal of ldc2 ebuilds for which there are no compatible llvm versions
Signed-off-by: Marco Leise <marco.leise@gmx.de>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/dmd/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/dmd/dmd-2.088.0-r1.ebuild | 24 | ||||
-rw-r--r-- | dev-lang/dmd/dmd-2.088.1-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/ldc2/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-0.17.6-r1.ebuild | 72 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-1.10.0-r1.ebuild | 81 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-1.11.0-r1.ebuild | 81 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-1.12.0-r2.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-1.13.0-r2.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-1.14.0-r2.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-1.15.0-r2.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-1.16.0.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-1.17.0.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-1.18.0.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/ldc2/ldc2-1.9.0-r1.ebuild | 81 |
15 files changed, 1 insertions, 352 deletions
diff --git a/dev-lang/dmd/Manifest b/dev-lang/dmd/Manifest index fe2c4b7..09c7250 100644 --- a/dev-lang/dmd/Manifest +++ b/dev-lang/dmd/Manifest @@ -23,6 +23,5 @@ DIST dmd.2.084.1.linux.tar.xz 23699944 BLAKE2B cc99ac0a52d98db516f465a8278893e82 DIST dmd.2.085.1.linux.tar.xz 24397876 BLAKE2B 0e9ee8deb63796c623f2348b147d99c96bd56eafb3c59620fa13bdeb77c1e8547a09a27220bcd1a9c49bab6331027be553ad5c12e6e537d4191c41932e273d60 SHA512 e32805baf1926531ea7268f4ab6845039a9518230638cf11223c47d323316ca9478376eb8084b4f993ebddd471f664e0f07b24fcff38ba9deeb8dc2e435e60b6 DIST dmd.2.086.1.linux.tar.xz 24643816 BLAKE2B fc6703f6c7f8724e06bb75278df58469876a6a23093afaf99a5dc0300d9657b6218249f7f69cdcba487d9b6bdd826f0c3e8e751897d9af96070729d35d24bf26 SHA512 cf6a7f2ef2f2133587b3aa0f72e3fc902dac59ca03c1b1021dbb16d637bead2baf891bc6c1782928fdb19c9a38b135cc1c80d5f90bc39f18b55c8e713c142cea DIST dmd.2.087.1.linux.tar.xz 25120264 BLAKE2B fb6aed0ebf1547565f99717830acfe450bc7db260070b77d37491a8d216acbe7ac1b07d320a42d7df706e0f18c6644ab18925273455b7949160c99af83645053 SHA512 8c44aa61b7fb1605a98f49db2e45d9e115626ad4bca9a1cdf3e61a116538e893d2504f524234bcd060ad3a1dda67b8813adf256055f24a0289b4f9630fc7ce63 -DIST dmd.2.088.0.linux.tar.xz 25131504 BLAKE2B 9a52c7ff2a34ef3bf5f792709f71da852a19c5c48b79ee843c2d46b2017cff2e31d7bd4d375d665fe0d5027a1397c6f05c4b3c442d6a57196bd8d548e61135fc SHA512 dcacbb48de87c312b1032306e6b33888ec779f45d33fca08a37d2341fc1f2061ae43ea95467a46bc961ee2841795e559d9c8e3ea41cf06a6e14a9c789f044c17 DIST dmd.2.088.1.linux.tar.xz 25122116 BLAKE2B e573a97cf9f547a3017a0b904523f4877782bef98144744f064a539e87fac8c0938b2963308a0e4046b934a700273338cbea32467b472daf665c9c5673ee5e06 SHA512 e98183870cab35b67967b73149a10025b257ba9ce9aafabdbdd1d91cc3009b90d13d0b5173fb5e32d53da890de7b7bd41deddec19774baaafa84c6efef4717a8 DIST dmd.2.089.0.linux.tar.xz 25693688 BLAKE2B 034d90b18e32d382d3e9c78654560b20cfc89f53cf4395b46c2b0f09db9be75c008017ff843b49912a43a40020d857a6654890b8293df305c012058369e45f78 SHA512 91e03f706ff91172a64fb9ab06544e39fcec90890074fbf72758b3bbc4d8664f66a7f714ccac5d3d236464485abef85d7936aba1612559a5c1dd78a505abd328 diff --git a/dev-lang/dmd/dmd-2.088.0-r1.ebuild b/dev-lang/dmd/dmd-2.088.0-r1.ebuild deleted file mode 100644 index 1350dea..0000000 --- a/dev-lang/dmd/dmd-2.088.0-r1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -KEYWORDS="-* ~amd64 ~x86" -YEAR=2019 -DLANG_VERSION_RANGE="2.075-" - -inherit dmd - -PATCHES=( - "${FILESDIR}/2.081-allow-deprecations.patch" - "${FILESDIR}/2.083-link-32-bit-shared-lib-with-ld.bfd.patch" -) - -dmd_src_prepare_extra() { - # Copy default DDOC theme file into resource directory - mkdir "dmd/res" || die "Failed to create 'dmd/res' directory" - cp "${FILESDIR}/2.086-default_ddoc_theme.ddoc" "dmd/res/default_ddoc_theme.ddoc" || die "Failed to copy 'default_ddoc_theme.ddoc' file into 'src/res' directory." - - # Copy missing config.d - cp "${FILESDIR}/2.086-config.d" "dmd/config.d" || die "Failed to copy 'config.d' file into 'dmd' directory." -} diff --git a/dev-lang/dmd/dmd-2.088.1-r1.ebuild b/dev-lang/dmd/dmd-2.088.1-r1.ebuild index 1350dea..785eb6b 100644 --- a/dev-lang/dmd/dmd-2.088.1-r1.ebuild +++ b/dev-lang/dmd/dmd-2.088.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -KEYWORDS="-* ~amd64 ~x86" +KEYWORDS="-* amd64 x86" YEAR=2019 DLANG_VERSION_RANGE="2.075-" diff --git a/dev-lang/ldc2/Manifest b/dev-lang/ldc2/Manifest index f566506..ecc2989 100644 --- a/dev-lang/ldc2/Manifest +++ b/dev-lang/ldc2/Manifest @@ -1,6 +1,3 @@ -DIST ldc-0.17.6-src.tar.gz 4986528 BLAKE2B b3198fd80f97d5ad3401af081cb6dd4470635b9c4495f35a573678fea2ec69663857785397aee3af37ae5477d164ce94f538a02ed461c5886c5862aa81012d3f SHA512 433a3582bb5214004a676741d7483ed87066b47b8bfec4633796ca5a717c78ea54ee7b9c2ce1cf7bc399082802f15133d28cb4884b879326d224f48687af68e3 -DIST ldc-1.10.0-src.tar.gz 6658773 BLAKE2B 5f1163e5c1c37fab165c934fc686112df0ac39b2f4d4ccaba885a4b6e919786b921fbeb7fdcf0f41d1d16426d969486ae3b93fd6aadf5913cc0878aaf1243a85 SHA512 6f46889dce6a4ba8450146b1e4929a73d9dee3b233f29e6054d3123ec370eb0155770686a27cc40d510fb777b12c00a7d70e255ad8265320b97cca8b47efe1ee -DIST ldc-1.11.0-src.tar.gz 6724384 BLAKE2B c4282a278a2e334682c8c839fe5fbf69bd587cf567d421d2728495a7b92661a54e16a0256d68e29266d44e8cdb7623cc3fc33a47b98c8fa94723aa74dea525d4 SHA512 add0be8daca38cb8a7e4a576a0f83e3d005d9091b92f426ad19dd68b41b0760d3c028dfda4872293611545d4430a6b481d1d9c2dbcc7354c430335a7f3800825 DIST ldc-1.12.0-src.tar.gz 6782018 BLAKE2B 18c15098518048e23bd19f3076da8824642014d167673c6c25d9ba0ac8185a2d2254d9353833738f6a5594f971e7d5f9a579aeae785738c3cd840b543f1f6d62 SHA512 1b62b1dc06fb4ea8865a69a227d05627583813b0598cc1dcb8bbdb028a40c6dd0a0cc6d8e445c80e92d30158cf77f83fa5784b695062f625f17e031387da3e5a DIST ldc-1.13.0-src.tar.gz 6773063 BLAKE2B 91ea5836f7cfbd492983ed8c68af3db147e494d6c26a13caa87fe4f00f32172d3ca0c5a5b081e3dad749f08a853c6419f843b28c1294451de62acf819e189d3f SHA512 6c513232d1eeae16eebe7c5fc1b22c42d5967894cc5594d718e7675c6daad50b696a06a99d959b47846f4a74395f6efb9e4517d549d6f121cec86f96bdb46871 DIST ldc-1.14.0-src.tar.gz 6841607 BLAKE2B 3e1024f76b8646a4951029a9c867ae763085e44f7e5af531b84a20095ff0253ddcb8b5abb2039eb6002cd3b7d64f5cf68b2b2b37d1accfcc57824acde2af9dcf SHA512 9876bf45a4b2472dd7d26e4ed40ea0075dc598e574a27bdb9d6a9ea5a01263446f0a92100535f17de9620d82d13b9e30ecbbb7bf330673dc0dc3da06247ddba2 @@ -8,4 +5,3 @@ DIST ldc-1.15.0-src.tar.gz 6949021 BLAKE2B ba2488c0ce247c1f00cd4ac6206605221d9a0 DIST ldc-1.16.0-src.tar.gz 6995348 BLAKE2B 3437d2c1f64e17793c1564c19fdd41d5a881f1c3274a0e265b10b66a59b752436222395811354e9fea58dae0573c873f64f3c5de88c1681e4e78c74e618f9892 SHA512 afd9675ce0929a8acb1084becb47d2d30d40fcd3836a55713a9ac128d12764b7eefb5e04c2eae432c4e138aa64c3d8d248745dcfeb2fa134f66fb11ddc30743e DIST ldc-1.17.0-src.tar.gz 7084805 BLAKE2B 1379ad77c0e489fea43b646a5d6cf5aa54e76b2cefe00686c69bb1c9b0caf42da7a0e24fb6d0f08c10fab9fd32e3ccb01b6702319ea73c782e3dca0a51bf6c08 SHA512 72a50b16cef63b30863b41571d14aad30b5fc25ea7859014d596c41360693da46dcf3f208195d9319fc2f4ef472ac3c86a0c552b19222cc05e491cb8cbcee38c DIST ldc-1.18.0-src.tar.gz 7183351 BLAKE2B 0affd49dda5f7c3df64e8d89fe66f2fce4c3a18c4bc5e4147e2e906d10f0b27316c8c460f5b9d767f3f50e5e909448b9f44cb17e156766d5488e237a71dd5009 SHA512 fe7529c33d0e43dfb71f474dfa381b88ee476b70933c8f80fc063d9a015df24a75e2b607a7242cc4b9cd4b6ac7559aec8f2883016bf7252342742322fcccbd4d -DIST ldc-1.9.0-src.tar.gz 6560330 BLAKE2B 4ffb8f3aa6af1ce1b5e9bfa9b4f5b22e0f88e7e1f097251c6a7a3fbdcfc94638ba89aa8fb5f84862e20049d35e3065323cef758675505641b5247a50a1c4c351 SHA512 a036097c6db72b925b1292994b27b5777fd5f29a529f2d918caede3bb7c5ae0c10e1069e7640a6b8ae0f5b37ac96eff669c3faf1661034f627ce829ca7681474 diff --git a/dev-lang/ldc2/ldc2-0.17.6-r1.ebuild b/dev-lang/ldc2/ldc2-0.17.6-r1.ebuild deleted file mode 100644 index b34306d..0000000 --- a/dev-lang/ldc2/ldc2-0.17.6-r1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib-build cmake-utils eapi7-ver llvm - -MY_PV="${PV//_/-}" -MY_P="ldc-${MY_PV}-src" -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -DESCRIPTION="LLVM D Compiler" -HOMEPAGE="https://ldc-developers.github.com/ldc" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" -LICENSE="BSD" -SLOT="$(ver_cut 1-2)/$(ver_cut 3)" - -IUSE="" - -# We support LLVM 3.7 through 7. -RDEPEND="|| ( - sys-devel/llvm:7 - sys-devel/llvm:6 - ) - <sys-devel/llvm-8:= - >=dev-libs/libconfig-1.4.7 - >=app-eselect/eselect-dlang-20140709" -DEPEND=">=dev-util/cmake-2.8 - ${RDEPEND}" -LLVM_MAX_SLOT=7 - -# For now, we support amd64 multilib. Anyone is free to add more support here. -MULTILIB_COMPAT=( abi_x86_{32,64} ) - -detect_hardened() { - gcc --version | grep -o Hardened -} - -src_configure() { - if use abi_x86_32 && use abi_x86_64; then - sed -i 's#@ADDITIONAL_DEFAULT_LDC_SWITCHES@#,"-L-rpath=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@:@CMAKE_INSTALL_PREFIX@/lib@MULTILIB_SUFFIX@"@ADDITIONAL_DEFAULT_LDC_SWITCHES@#' ldc2_install.conf.in || die "Cannot patch ldc2_install.conf.in" - else - sed -i 's#@ADDITIONAL_DEFAULT_LDC_SWITCHES@#,"-L-rpath=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@"@ADDITIONAL_DEFAULT_LDC_SWITCHES@#' ldc2_install.conf.in || die "Cannot patch ldc2_install.conf.in" - fi - local mycmakeargs=( - -DD_VERSION=2 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2) - ) - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON ) - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_make -} - -src_install() { - cmake-utils_src_install - - rm -rf "${ED}"/usr/share/bash-completion -} - -pkg_postinst() { - # Update active ldc2 - "${ROOT}"/usr/bin/eselect dlang update ldc2 -} - -pkg_postrm() { - "${ROOT}"/usr/bin/eselect dlang update ldc2 -} diff --git a/dev-lang/ldc2/ldc2-1.10.0-r1.ebuild b/dev-lang/ldc2/ldc2-1.10.0-r1.ebuild deleted file mode 100644 index 60d8fb2..0000000 --- a/dev-lang/ldc2/ldc2-1.10.0-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib-build cmake-utils eapi7-ver llvm - -MY_PV="${PV//_/-}" -MY_P="ldc-${MY_PV}-src" -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -DESCRIPTION="LLVM D Compiler" -HOMEPAGE="https://ldc-developers.github.com/ldc" -KEYWORDS="amd64 ~arm x86" -LICENSE="BSD" -SLOT="$(ver_cut 1-2)/$(ver_cut 3)" - -IUSE="static-libs" - -# We support LLVM 3.7 through 6. -RDEPEND="|| ( - sys-devel/llvm:6 - ) - <sys-devel/llvm-7:= - >=app-eselect/eselect-dlang-20140709" -DEPEND=">=dev-util/cmake-2.8 - ${RDEPEND}" -LLVM_MAX_SLOT=6 -PATCHES="${FILESDIR}/ldc2-1.9.0-link-defaultlib-shared.patch" - -# For now, we support amd64 multilib. Anyone is free to add more support here. -MULTILIB_COMPAT=( abi_x86_{32,64} ) - -DLANG_VERSION_RANGE="2.068-2.080" -DLANG_PACKAGE_TYPE="single" - -inherit dlang - -detect_hardened() { - gcc --version | grep -o Hardened -} - -src_prepare() { - cmake-utils_src_prepare -} - -d_src_configure() { - # Make sure libphobos2 is installed into ldc2's directory. - export LIBDIR_${ABI}="${LIBDIR_HOST}" - local mycmakeargs=( - -DD_VERSION=2 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2) - -DD_COMPILER="${DMD}" - -DD_COMPILER_DMD_COMPAT=1 - -DLDC_WITH_LLD=OFF - ) - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON ) - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON ) - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' ) - cmake-utils_src_configure -} - -d_src_compile() { - cmake-utils_src_make -} - -d_src_install() { - cmake-utils_src_install - - rm -rf "${ED}"/usr/share/bash-completion -} - -pkg_postinst() { - # Update active ldc2 - "${ROOT}"/usr/bin/eselect dlang update ldc2 -} - -pkg_postrm() { - "${ROOT}"/usr/bin/eselect dlang update ldc2 -} diff --git a/dev-lang/ldc2/ldc2-1.11.0-r1.ebuild b/dev-lang/ldc2/ldc2-1.11.0-r1.ebuild deleted file mode 100644 index 3988581..0000000 --- a/dev-lang/ldc2/ldc2-1.11.0-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib-build cmake-utils eapi7-ver llvm - -MY_PV="${PV//_/-}" -MY_P="ldc-${MY_PV}-src" -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -DESCRIPTION="LLVM D Compiler" -HOMEPAGE="https://ldc-developers.github.com/ldc" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" -LICENSE="BSD" -SLOT="$(ver_cut 1-2)/$(ver_cut 3)" - -IUSE="static-libs" - -# We support LLVM 3.7 through 6. -RDEPEND="|| ( - sys-devel/llvm:6 - ) - <sys-devel/llvm-7:= - >=app-eselect/eselect-dlang-20140709" -DEPEND=">=dev-util/cmake-2.8 - ${RDEPEND}" -LLVM_MAX_SLOT=6 -PATCHES="${FILESDIR}/ldc2-1.9.0-link-defaultlib-shared.patch" - -# For now, we support amd64 multilib. Anyone is free to add more support here. -MULTILIB_COMPAT=( abi_x86_{32,64} ) - -DLANG_VERSION_RANGE="2.068-" -DLANG_PACKAGE_TYPE="single" - -inherit dlang - -detect_hardened() { - gcc --version | grep -o Hardened -} - -src_prepare() { - cmake-utils_src_prepare -} - -d_src_configure() { - # Make sure libphobos2 is installed into ldc2's directory. - export LIBDIR_${ABI}="${LIBDIR_HOST}" - local mycmakeargs=( - -DD_VERSION=2 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2) - -DD_COMPILER="${DMD}" - -DD_COMPILER_DMD_COMPAT=1 - -DLDC_WITH_LLD=OFF - ) - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON ) - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON ) - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' ) - cmake-utils_src_configure -} - -d_src_compile() { - cmake-utils_src_make -} - -d_src_install() { - cmake-utils_src_install - - rm -rf "${ED}"/usr/share/bash-completion -} - -pkg_postinst() { - # Update active ldc2 - "${ROOT}"/usr/bin/eselect dlang update ldc2 -} - -pkg_postrm() { - "${ROOT}"/usr/bin/eselect dlang update ldc2 -} diff --git a/dev-lang/ldc2/ldc2-1.12.0-r2.ebuild b/dev-lang/ldc2/ldc2-1.12.0-r2.ebuild index f4f3f74..7c3e1fc 100644 --- a/dev-lang/ldc2/ldc2-1.12.0-r2.ebuild +++ b/dev-lang/ldc2/ldc2-1.12.0-r2.ebuild @@ -21,7 +21,6 @@ IUSE="static-libs" # We support LLVM 3.7 through 7. RDEPEND="|| ( sys-devel/llvm:7 - sys-devel/llvm:6 ) <sys-devel/llvm-8:= >=app-eselect/eselect-dlang-20140709" diff --git a/dev-lang/ldc2/ldc2-1.13.0-r2.ebuild b/dev-lang/ldc2/ldc2-1.13.0-r2.ebuild index 921184c..90148f2 100644 --- a/dev-lang/ldc2/ldc2-1.13.0-r2.ebuild +++ b/dev-lang/ldc2/ldc2-1.13.0-r2.ebuild @@ -21,7 +21,6 @@ IUSE="static-libs" # We support LLVM 3.9 through 7. RDEPEND="|| ( sys-devel/llvm:7 - sys-devel/llvm:6 ) <sys-devel/llvm-8:= >=app-eselect/eselect-dlang-20140709" diff --git a/dev-lang/ldc2/ldc2-1.14.0-r2.ebuild b/dev-lang/ldc2/ldc2-1.14.0-r2.ebuild index 921184c..90148f2 100644 --- a/dev-lang/ldc2/ldc2-1.14.0-r2.ebuild +++ b/dev-lang/ldc2/ldc2-1.14.0-r2.ebuild @@ -21,7 +21,6 @@ IUSE="static-libs" # We support LLVM 3.9 through 7. RDEPEND="|| ( sys-devel/llvm:7 - sys-devel/llvm:6 ) <sys-devel/llvm-8:= >=app-eselect/eselect-dlang-20140709" diff --git a/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild b/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild index f526ac8..72eecd3 100644 --- a/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild +++ b/dev-lang/ldc2/ldc2-1.15.0-r2.ebuild @@ -22,7 +22,6 @@ IUSE="static-libs" RDEPEND="|| ( sys-devel/llvm:8 sys-devel/llvm:7 - sys-devel/llvm:6 ) <sys-devel/llvm-9:= >=app-eselect/eselect-dlang-20140709" diff --git a/dev-lang/ldc2/ldc2-1.16.0.ebuild b/dev-lang/ldc2/ldc2-1.16.0.ebuild index f526ac8..72eecd3 100644 --- a/dev-lang/ldc2/ldc2-1.16.0.ebuild +++ b/dev-lang/ldc2/ldc2-1.16.0.ebuild @@ -22,7 +22,6 @@ IUSE="static-libs" RDEPEND="|| ( sys-devel/llvm:8 sys-devel/llvm:7 - sys-devel/llvm:6 ) <sys-devel/llvm-9:= >=app-eselect/eselect-dlang-20140709" diff --git a/dev-lang/ldc2/ldc2-1.17.0.ebuild b/dev-lang/ldc2/ldc2-1.17.0.ebuild index f526ac8..72eecd3 100644 --- a/dev-lang/ldc2/ldc2-1.17.0.ebuild +++ b/dev-lang/ldc2/ldc2-1.17.0.ebuild @@ -22,7 +22,6 @@ IUSE="static-libs" RDEPEND="|| ( sys-devel/llvm:8 sys-devel/llvm:7 - sys-devel/llvm:6 ) <sys-devel/llvm-9:= >=app-eselect/eselect-dlang-20140709" diff --git a/dev-lang/ldc2/ldc2-1.18.0.ebuild b/dev-lang/ldc2/ldc2-1.18.0.ebuild index d15013d..eabd185 100644 --- a/dev-lang/ldc2/ldc2-1.18.0.ebuild +++ b/dev-lang/ldc2/ldc2-1.18.0.ebuild @@ -23,7 +23,6 @@ RDEPEND="|| ( sys-devel/llvm:9 sys-devel/llvm:8 sys-devel/llvm:7 - sys-devel/llvm:6 ) <sys-devel/llvm-10:= >=app-eselect/eselect-dlang-20140709" diff --git a/dev-lang/ldc2/ldc2-1.9.0-r1.ebuild b/dev-lang/ldc2/ldc2-1.9.0-r1.ebuild deleted file mode 100644 index 60d8fb2..0000000 --- a/dev-lang/ldc2/ldc2-1.9.0-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib-build cmake-utils eapi7-ver llvm - -MY_PV="${PV//_/-}" -MY_P="ldc-${MY_PV}-src" -SRC_URI="https://github.com/ldc-developers/ldc/releases/download/v${MY_PV}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -DESCRIPTION="LLVM D Compiler" -HOMEPAGE="https://ldc-developers.github.com/ldc" -KEYWORDS="amd64 ~arm x86" -LICENSE="BSD" -SLOT="$(ver_cut 1-2)/$(ver_cut 3)" - -IUSE="static-libs" - -# We support LLVM 3.7 through 6. -RDEPEND="|| ( - sys-devel/llvm:6 - ) - <sys-devel/llvm-7:= - >=app-eselect/eselect-dlang-20140709" -DEPEND=">=dev-util/cmake-2.8 - ${RDEPEND}" -LLVM_MAX_SLOT=6 -PATCHES="${FILESDIR}/ldc2-1.9.0-link-defaultlib-shared.patch" - -# For now, we support amd64 multilib. Anyone is free to add more support here. -MULTILIB_COMPAT=( abi_x86_{32,64} ) - -DLANG_VERSION_RANGE="2.068-2.080" -DLANG_PACKAGE_TYPE="single" - -inherit dlang - -detect_hardened() { - gcc --version | grep -o Hardened -} - -src_prepare() { - cmake-utils_src_prepare -} - -d_src_configure() { - # Make sure libphobos2 is installed into ldc2's directory. - export LIBDIR_${ABI}="${LIBDIR_HOST}" - local mycmakeargs=( - -DD_VERSION=2 - -DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2) - -DD_COMPILER="${DMD}" - -DD_COMPILER_DMD_COMPAT=1 - -DLDC_WITH_LLD=OFF - ) - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH ) || mycmakeargs+=( -DBUILD_SHARED_LIBS=ON ) - use abi_x86_32 && use abi_x86_64 && mycmakeargs+=( -DMULTILIB=ON ) - detect_hardened && mycmakeargs+=( -DADDITIONAL_DEFAULT_LDC_SWITCHES=', "-relocation-model=pic"' ) - cmake-utils_src_configure -} - -d_src_compile() { - cmake-utils_src_make -} - -d_src_install() { - cmake-utils_src_install - - rm -rf "${ED}"/usr/share/bash-completion -} - -pkg_postinst() { - # Update active ldc2 - "${ROOT}"/usr/bin/eselect dlang update ldc2 -} - -pkg_postrm() { - "${ROOT}"/usr/bin/eselect dlang update ldc2 -} |