summaryrefslogtreecommitdiff
path: root/sys-devel/gcc-apple
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-16 05:02:38 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-16 05:02:38 +0100
commitf1bc537f089cc8477a9a18db597cb349e1b00e91 (patch)
treec48eb730c43e5f35729fabbe5cb4bfbe4a1bc794 /sys-devel/gcc-apple
parentcb3e8c6af7661fbcafdcacc7e0ecdfb610d098fa (diff)
gentoo resync : 16.06.2018
Diffstat (limited to 'sys-devel/gcc-apple')
-rw-r--r--sys-devel/gcc-apple/Manifest2
-rw-r--r--sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild6
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-devel/gcc-apple/Manifest b/sys-devel/gcc-apple/Manifest
index 765fe4a3cbd7..ba4ea7ee0111 100644
--- a/sys-devel/gcc-apple/Manifest
+++ b/sys-devel/gcc-apple/Manifest
@@ -12,5 +12,5 @@ DIST gcc-apple-4.2.1_p5646-gfortran.patch 38284 BLAKE2B 83934d5e52a27a0db750f725
DIST gcc-fortran-4.2.4.tar.bz2 905688 BLAKE2B 6a7e030e3261b147f5add7c8b936ecb7a7a20b99db96e957fa94591560a2e303f2cdf931ca8d73b7c29464d288d1db52c2619bbf1cce30d7326a668aab303dad SHA512 1a36587a3691b8d7ecd23938efcdfca42642b6b260a1c830f6d791bb1b8ac32953998c45d77eee2d557861d631431569503c796b61aeaea9ac5fffbce1982faa
DIST libstdcxx-16.tar.gz 64695692 BLAKE2B 3660778be1f28761fdf93d6db77eba54836f3ed45af756786f94abc3556f2013a84af8a2585ffee16925cd84634c96196c4392a80ed7e34db6dcb8f96f979d60 SHA512 2f0e8d694aaaf94fc2a0463ebd4a5775865421dedb431a6f6f701a8d33078e768bef232f72e2cf1f8e2d278eb60ff54030f5ad22b43eb0643d49bc4717e96b05
DIST libstdcxx-39.tar.gz 117081330 BLAKE2B 03df012edd588e27bb1e17439e1b213bbf08a9656579f4a938c3026b993158962a44660d0dd2027ad6f12aa2b0cfaa7880a0ecfbd27b2e976bba3260e56bb377 SHA512 c640292c0f371069fbb635ed0385627c8abab869db93513922e19b25886864d093eef3684c49bf1ba82325f2d1d3cd1eb382ef6ea9dee039208fe99fe8653db6
-EBUILD gcc-apple-4.2.1_p5666-r2.ebuild 12904 BLAKE2B e7f7058e7e619ebf24aca1af4f1458baab16b2aac30348962a1a57f9fcab932de4dc30368efc30056b1f81232e4c8d764def5750fcda04d270aea10daff4e189 SHA512 83c6efeb6621876710b0af568081fa876fcaec1f0e1a6c30754280cb845ef8c122d832f7bd4dcb9a43b47372bededdf88776cec056f74e04333e4a51cd644bf1
+EBUILD gcc-apple-4.2.1_p5666-r2.ebuild 12931 BLAKE2B 0beb8dd135af7a60bb5f34684f605b0d141b1a2c595e97e5dc474c3c0d0444341ce3458e59d16561a42156feb7bce9e98adc0d705dff01e8fe3ac75bb1fa91f1 SHA512 0f2f6c8b0b99b36f06362d3834778b056af94c1066d470ac50ca6416a85851e3c2bd8fe4bc901c96daee6bf6063c138da7eecb0f355c7f7b1db433b07a17fd4f
MISC metadata.xml 530 BLAKE2B 9cbe53672ff6d681bda4893ac4630e70e80129fcfbd0abe5862eddb51008b60220b5c3bffa15177c9d5c0308d0569dfcec7eeaf2ea87042b28a32714efb83530 SHA512 29922e179098de072d1a5bd869ba4505a88ee1340ceb66b0898b58446ddd74b6a6dcc961b4a1445d2db3b95259c6cb31030b9c0b7ea036a92b303b7f7ac3b371
diff --git a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild
index c46edae451a5..1b20668b569d 100644
--- a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild
+++ b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r2.ebuild
@@ -26,7 +26,6 @@ RDEPEND=">=sys-libs/zlib-1.1.4
>=sys-libs/ncurses-5.2-r2
nls? ( sys-devel/gettext )
>=sys-devel/gcc-config-1.8-r1
- sys-libs/csu
!<sys-apps/portage-2.2.14
fortran? (
>=dev-libs/gmp-4.2.1
@@ -37,6 +36,7 @@ DEPEND="${RDEPEND}
>=sys-devel/bison-1.875
${CATEGORY}/binutils-apple
>=dev-libs/mpfr-2.2.0_p10"
+PDEPEND="sys-libs/csu"
S=${WORKDIR}/gcc-${APPLE_VERS}
@@ -352,8 +352,8 @@ src_install() {
}
pkg_postinst() {
- # beware this also switches when it's on another branch version of GCC
- gcc-config ${CTARGET}-${GCC_VERS}
+ # only activate this compiler if nothing else is activated
+ gcc-config -c >& /dev/null || gcc-config ${CTARGET}-${GCC_VERS}
}
pkg_postrm() {