summaryrefslogtreecommitdiff
path: root/sys-devel
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/Manifest.gzbin9323 -> 9322 bytes
-rw-r--r--sys-devel/autoconf/Manifest23
-rw-r--r--sys-devel/autoconf/autoconf-2.59-r7.ebuild25
-rw-r--r--sys-devel/autoconf/autoconf-2.61-r2.ebuild31
-rw-r--r--sys-devel/autoconf/autoconf-2.62-r1.ebuild27
-rw-r--r--sys-devel/autoconf/autoconf-2.63-r1.ebuild25
-rw-r--r--sys-devel/autoconf/autoconf-2.65-r1.ebuild25
-rw-r--r--sys-devel/autoconf/autoconf-2.67.ebuild21
-rw-r--r--sys-devel/autoconf/autoconf-2.68.ebuild21
-rw-r--r--sys-devel/autoconf/autoconf-2.69-r4.ebuild4
-rw-r--r--sys-devel/autoconf/files/autoconf-2.59-more-quotes.patch34
-rw-r--r--sys-devel/autoconf/files/autoconf-2.61-GETMNTENT.patch23
-rw-r--r--sys-devel/autoconf/files/autoconf-2.62-at-keywords.patch81
-rw-r--r--sys-devel/autoconf/files/autoconf-2.62-fix-multiline-string.patch30
-rw-r--r--sys-devel/autoconf/files/autoconf-2.62-revert-AC_C_BIGENDIAN.patch214
-rw-r--r--sys-devel/autoconf/files/autoconf-2.63-sh.patch32
-rw-r--r--sys-devel/autoconf/files/autoconf-2.65-AC_TYPE_INT_T.patch49
-rw-r--r--sys-devel/bc/Manifest4
-rw-r--r--sys-devel/bc/bc-1.06.95-r2.ebuild15
-rw-r--r--sys-devel/bc/bc-1.07.1-r1.ebuild34
-rw-r--r--sys-devel/binutils-apple/Manifest35
-rw-r--r--sys-devel/binutils-apple/binutils-apple-3.2.ebuild235
-rw-r--r--sys-devel/binutils-apple/binutils-apple-4.3-r2.ebuild6
-rw-r--r--sys-devel/binutils-apple/binutils-apple-5.1-r1.ebuild8
-rw-r--r--sys-devel/binutils-apple/binutils-apple-6.1-r1.ebuild8
-rw-r--r--sys-devel/binutils-apple/binutils-apple-6.3-r1.ebuild8
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.0-r1.ebuild4
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.0.ebuild4
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.1-r1.ebuild4
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.1.ebuild4
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.2-r1.ebuild4
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.2.ebuild4
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild4
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.3.ebuild4
-rw-r--r--sys-devel/binutils-apple/binutils-apple-8.1.ebuild4
-rw-r--r--sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild6
-rw-r--r--sys-devel/binutils-apple/binutils-apple-8.2.1.ebuild4
-rw-r--r--sys-devel/clang-runtime/Manifest3
-rw-r--r--sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild26
-rw-r--r--sys-devel/clang-runtime/clang-runtime-9999.ebuild4
-rw-r--r--sys-devel/clang/Manifest3
-rw-r--r--sys-devel/clang/clang-6.0.9999.ebuild283
-rw-r--r--sys-devel/clang/clang-9999.ebuild4
-rw-r--r--sys-devel/lld/Manifest1
-rw-r--r--sys-devel/lld/lld-6.0.9999.ebuild75
-rw-r--r--sys-devel/llvm-common/Manifest1
-rw-r--r--sys-devel/llvm-common/llvm-common-6.0.9999.ebuild37
-rw-r--r--sys-devel/llvm/Manifest3
-rw-r--r--sys-devel/llvm/llvm-6.0.9999.ebuild231
-rw-r--r--sys-devel/llvm/llvm-9999.ebuild4
-rw-r--r--sys-devel/llvmgold/Manifest1
-rw-r--r--sys-devel/llvmgold/llvmgold-7.ebuild24
52 files changed, 1017 insertions, 747 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz
index 6fe66b88c636..b698f2408e39 100644
--- a/sys-devel/Manifest.gz
+++ b/sys-devel/Manifest.gz
Binary files differ
diff --git a/sys-devel/autoconf/Manifest b/sys-devel/autoconf/Manifest
index e125789f64fc..fdade38ca492 100644
--- a/sys-devel/autoconf/Manifest
+++ b/sys-devel/autoconf/Manifest
@@ -1,37 +1,16 @@
AUX autoconf-2.13-destdir.patch 677 BLAKE2B f30eb8fba21a14537324f3785bbec04d972412a54a5db3e160f809a721ec0a683701fc3a8d6b23d529bb72992ca937f52a8fbc46f7505b199b9d576c020fb962 SHA512 eeb9619bdc365fb3877b816e30192fb235b8c7fed9e810da0382363141abd9b5df217cda31a7dd1eb51d6310714412709fc830fdaac55a6ccfcfd8335f752c54
AUX autoconf-2.13-gentoo.patch 898 BLAKE2B 069e7e281fe0efe180423a77a5876d5301460e9ae1b8612d6679bde71cf4739be9c27cdfa76274fb15d13eaf2893053ec1311d92f1095511b8dbfd7030a7e7ae SHA512 8195ea24bd1fbcba20cd09de12dc90879a3d6e2877179d43830abdca6c68148c2bd611b1d3919777304945a08e0d939aa868bb689558515af6b0b10524f16e5c
AUX autoconf-2.13-test-fixes.patch 547 BLAKE2B aa7509f3098da8e2723f835133e375d63896ea65b3030037d625361fa01a02e7e982920cedcbfdf1679783fd7a6a8f0b8476e583749419fd8d103735c0b98d2d SHA512 085e7525c66e710b42dcb068c8aeda89488d1e926e493bcab74e1a1440f53f67630d6998a2a9eff6dc65cf8f71cad19127d541422b51a2519163b51ba78ae592
-AUX autoconf-2.59-more-quotes.patch 1223 BLAKE2B d090052dc77b74a89e0cd53ca6d35b1f725ca0b7190f60cbf5956dac31b82521211836d1af9a3b0b0a31a4de95eed2421c3df207f2a15d5889afada04ad90515 SHA512 8736ba977b80f78a291837377435d2c9f2ede4bbe56acbeeed0951cc36961c510c792bb87973d1bf26d6f6cb9949bafd5a56f80728198a18b85ad8e500a06cda
-AUX autoconf-2.61-GETMNTENT.patch 909 BLAKE2B bae68ba1354837d0f8330eb2c202c81d20159ed1b36d2228d7049e36df25be2b0e6b2f321ec785b2236a0ccd56043009d3a23c888f0c99fa553889517e0819b7 SHA512 64760743ebb25a7a1e9de79bafebf6f22098e14b311107f3f662e60601f45c15b6296f48eee87efa572041b1d69b8a484286550b84d6937e511befa1f00ab2a6
AUX autoconf-2.61-darwin.patch 450 BLAKE2B bf5bf1f9561c0a1880c9e3f97383a8c91450cf727587f267848d7acad8d805e7a0bdb4d64ea8605fa44851d8841d5ce3557afc890bc1a4365844fcaa223e1439 SHA512 b698bb51a1264ce92cced79906926a473d37eaf7dcf5d6d599c6c6012910391933e19a7a436cd0c93f817f56f6749006777bb914648eab8da96ecca0c1e2cfd1
-AUX autoconf-2.62-at-keywords.patch 2857 BLAKE2B 45bc369b348254c5a5bd238676ee4c89ecac9287929b49deff2b78da6cb2ae6caa9fe96337a1e2e6646c937b0d0ef7d120d888713dfb2707480ed843b9e159c3 SHA512 5cd214d51b9157377850a9a8a2e8338352828c0edb0e0e2ffb50f6439d1fac580202a8a02f0e461f6311a27d5ff52d4d86f2146ee7fef1b07b700f253a0a6152
-AUX autoconf-2.62-fix-multiline-string.patch 1040 BLAKE2B 1015db5a619a3352d8e91156ccb1f5b2dc92b06b1cec4bc686094f03828d6cbd8391c5f307debe37dc000ba02ae6667fdad09148b35309e139c2cbf0c13c005f SHA512 0f4ff3d2121ed05881d7e8cc3546340abdec80b0184ca7e7d115e507d52943997564ad699c3b4ed90fb38087e8a8ebd8f48638339e7b175efc4b25ad02ecc7ee
-AUX autoconf-2.62-revert-AC_C_BIGENDIAN.patch 7040 BLAKE2B 48e8c3e96f45658a5f78ee098fe73659f3ff7db6b1286f61e25447ad3b34a368dadd3356dc65a578d55ac090664427e557c894fdf60cb6c94c4ed8d56f2cb838 SHA512 3ded7bbdd4ca3443457f0aad7aa8324f1825f155cf43a3bffb3a018653aeeb30404884e42d0abeaf6c3456e1c6aeb19add87d192237111beefed796063461f51
-AUX autoconf-2.63-sh.patch 1224 BLAKE2B 00584d797688d4bb43e512fe0a441c6ba2da7dbbc7319cf55fe0c70488371c325cb7ccd60ea5747158f58fd9b53060e68233fe6e4d2f5ab8792771765d8645a7 SHA512 c82a75c5f04f86f05254150f31c001152feeaf56f5aa662d8df05e6efc1ab751b5d353aa0e4b56ca0de8034cb4bee8283e9ab68977094e04225f06985d3bd539
-AUX autoconf-2.65-AC_TYPE_INT_T.patch 1760 BLAKE2B efaf76c0f62240f6c5c53d19b5569f4cfcf978b27d9218328bf54fa22ed4a95248d8d14b55b46509c4f5eb529cf9a58a14cf4a680335d484a5ee10ecdae4f872 SHA512 30bd03debaf74c21f435da00f399a7e1bdcd6e661a7565d240793353507f949cc60b9a31bd2a5f53ba3a909d0171f4afa407f20888e4ff23e5962a5ddbb612c7
AUX autoconf-2.69-fix-libtool-test.patch 1093 BLAKE2B e7b98ae1c84d6d0a41daa16c71cab644328c850c77214dd15c99c2b1ae2ee040ef3d75d4dbe3301992bdb9ad2f2b48f4a6363b14e9f6765863e57f0047b83f86 SHA512 38506631fdde1f80a3467673e6fb48d4751323462c1657c85e2b5289e1219ef236ed9af3a66906c8851a62c244c1ffed70537a5f1421539429a9aa04e929d727
AUX autoconf-2.69-perl-5.26-2.patch 1003 BLAKE2B e2a858f905f20d46a52ac7d78be63ef0ea5ce0b87a7059ea17317bed3b658c0eafe3f9d8b1b11f4d84d3160bfa3f504e980870fe562d7a1ba6da1c70177e49bb SHA512 b02086ac8a468a626d8b6506aa14e19ef10e4d33b91a7647f74d5746cce9f690d6cf5840ea81c593f63e8f94275974f31c8695065844380678e83153c1b547d0
AUX autoconf-2.69-perl-5.26.patch 820 BLAKE2B 405d92044f338b8c7f0ebc6b0007938143c011eff116a65dd06a126a9ab3b127ee766c618e0d51caf88821d979632e7949c843ebad1c5c9e87ad066aa4a46376 SHA512 0202c099b85102dab18ad7d4268b836cadf587d0a48aefa386e70539b3b689fd580053d7287730f1d0a9cc97d6eeb41c1579a181a82a5cb2e04e436bb96d0b20
DIST autoconf-2.13.tar.gz 443844 BLAKE2B ade10f9d4a0b1a0e8b752eee817cfe100d77b074192b9892330402ddc5b62dda1a3485ce0c36e72191daa9fd49382b99851cb6aa3a13aca8cf2ae6e884638fb6 SHA512 602584f4c77b7a554aaa068eda5409b68eb0b3229e9c224bffb91c83c4314d25de15bd560a323626ff78f6df339c79e1ef8938c54b78ecadf4dc75c5241290ad
-DIST autoconf-2.59.tar.bz2 925073 BLAKE2B 32d006ec4e4cf5f8011560ef480dc2752321e6ddff2bceff282329c4c2161a76900bc6118c05a1087907f87fb905a46acec6be2a8035d3cb5ff9fb8057dc911f SHA512 0f57e57b94ef78d59e68476746e78de9c8d0c07bcfdbdb850c2e68b59cdbef7e6256a073d1ae8965abd30611f22c1dc451ecdf67aff43102f73ec118c51ab4d6
-DIST autoconf-2.61.tar.bz2 1042439 BLAKE2B 9c7d35c18df684bb539539ab1f1b28d4fbef382a01f769cb765fda932320d83760b962b3d3e9b0e4e9bf39f65aa3731fca9638e76adfcb0dc2ab1d3d7b228bf7 SHA512 f534c7dbc10fc871cc99b1cb68bd7f19d888677d9e2af47e904e91fe90420c20e7a270da2681da82e249ffb46c92165202cc73e125a9b14abd604458731b0026
-DIST autoconf-2.62.tar.bz2 1165951 BLAKE2B a4487cdcda6a8f9ed6cf3c182a7bbe1567d74739646004013df6545c5b7ede7ecd76dc4dc45da87ae4dbbaacf140d52fac089912ef6b9f2c3b35f53585b4fabe SHA512 98a2d903e8c43088ac60b880f58d7c35c547824c277dbeb14c48f846e40f29546c20e942f99127ffdc6f6607c334a6054328f20a9a2962972cc80570665ee7d7
-DIST autoconf-2.63.tar.bz2 1195259 BLAKE2B 2db806f45f01f33e7941e49e2f48d8f0b659b0b9cec0c1a7d5fff4cf6545734b6836bbc60ca39c664ed38e212261cb90a07a2c40f0095807af6fde813f2b9a85 SHA512 bd47527a1f6558953d21ac1d7a36d490d057a78cd612f82b6f31aa73f9c42f4a2d736a7d4e49d91df268bffa5a418d222c53e741bffc2c8843fe3b7ed37e09d6
DIST autoconf-2.64.tar.xz 1113892 BLAKE2B 598873209a67725150cd4cf09c4b78b26b3d1782f259846da48dc8106a1d32ae2b24f3a864c3be0e9e8dc7d6b6ca8781b83ff33a691c88e68391d1ea861ccf23 SHA512 ee4b504447c14a59b849d0915e55a90522cfb071d1583af2bd3575e5a05d7bd290e55e0e9d0760c8f36043f926199fc2d962b559d27d2f95c70d0e147b4ad0a3
-DIST autoconf-2.65.tar.xz 1132092 BLAKE2B 13f9d9d497013cf85b5aa7a7be688d93f8acdd7213c8490efd7b421e5e3d4730ad9c70920e3cb92a56ba1085b5f04de9857e59ae35767efbab97e518c8c685c5 SHA512 23473cde36ad02a9474286a144c751b222d7aecf8b271b49e6dae25706c96d5533c8d840d522ecf11df8c437961a2ac00aa050c929d5e06b381acf1bc34f2c4c
-DIST autoconf-2.67.tar.xz 1158000 BLAKE2B 69a85e473fe2895f397b3370623ccde1b461627026314c336b0350b0bc5d843ae381c4df2a84e29e9f582070d4e9088c3c2ee5c7b0e7745dabd065cf1622c41c SHA512 b9021a137da42512f6c4ce907b560ad54e27491083ce686039c32dca2602f3cb354d9e7d7493d6d531a0aa5766ff25e0d86aea6e8f61a79d93acf3ff6b56de80
-DIST autoconf-2.68.tar.xz 1167804 BLAKE2B 557fcabec4bf5332a443b2454fefc1a4abb8a22fc36b6f9bf91606c510ebefe8a13021676e6fe2205c56349d96d2cbb3f2d252639e5445639361360815b8ff98 SHA512 fd41b2d75a89bcc67f2cb0a3b335ca0d5e8f6d3f4ae844fea21c80c5ff7234efe8c299491e89d1d1124b0d4ec3072a21cf707e14b5ef186f1ab2d09f0fefa979
DIST autoconf-2.69.tar.xz 1214744 BLAKE2B 71d33d72a06e9a05fbed0eda73bc9d8a3805c7c90bf082959862f93f3c5f01192114176e84d84ecb58fa99512eafbc0ab21ad1407be18c8c63bb3dc1117c482d SHA512 995d3e5a8eb1eb37e2b7fae53c6ec7a9b4df997286b7d643344818f94636756b1bf5ff5ea9155e755cb9461149a853dfbf2886fc6bd7132e5afa9c168e306e9b
EBUILD autoconf-2.13.ebuild 1521 BLAKE2B 745ce1ba4d39b75cf89ed701bbf102092854922f1dc0be421326c0f3a95f2a32aa69dae8ca4ac0e7b0e738f0e4c0553126636674571376df8870d77afa5e1998 SHA512 493ba0d22c90ed02e77e2406f76bc6e2cc6c9c56e824ca8c7ce73a2e3e265868de5824ed9b0261f457903ca12068e24ea55c77e2709f9d28366fc25c9ac13091
-EBUILD autoconf-2.59-r7.ebuild 616 BLAKE2B e6ac5cbd57c3ec927ad2096a22204791f4b28e93eeec17f3a047c86bfa1d2d61a176710013c1127bd37b35a31e686f8fd994a22152b4d2884b066b96ce0bdfb2 SHA512 6984969e12a1a61743d98bc8813c966ee3c4ced97abc3119df952d5a115f4f6614f0e948b232417ef613b971bd18eab2447acbd649e4a3a6e6e2bcff01599fa5
-EBUILD autoconf-2.61-r2.ebuild 719 BLAKE2B d65f7918503372a451380c8ee82536ff6ebd1786c2cba585c781082ac39fbd7c9fcb0b6f38c3adb1c5eb710c9ae49179cc40d3d519868528620610e078fe1827 SHA512 96fcc3c2a254d5a5d6453b2424d16d76880215bf0ee0dbd76abc83c7d54a721b76278c288fb8e7aab1dff89366493ad0ca693501754e1be21c5fe29b9b8e92a7
-EBUILD autoconf-2.62-r1.ebuild 729 BLAKE2B 74120c8cf2daad21b7c3896e3aaa6bc465185a71970d60b336134ec394f0fb6ae6b246d176a03801122cbc1fe3546b3ff723867084d9232fcb2858ab80298ea0 SHA512 283eecd08c491f53a81bcbd3142bdf3ed49ebf41ca8536c9850e2bee139e71be4c88abdcf943b33a9568f33d11c38e52aaf4330da4bc1c5c2aef3630dea72b7a
-EBUILD autoconf-2.63-r1.ebuild 617 BLAKE2B 40d6a12b73dd777668d25ab386b0900ced734e30e5a6228f2610cd69f6cda960f58d1e7d8affebe520dedcc997975364f7d734f902f264969d09cc497c61cb8a SHA512 d663d563a08a8f0e9f29dc3e2871dd7bc0cb9fc59a9218038ae3495c7ebda5e5bdf32bc872d3201cc964e07d0a3cf2b24f92d31c1d5ba1c9e289d916c6ade26b
EBUILD autoconf-2.64.ebuild 566 BLAKE2B a0488603af961a72257e96959d28ff6fb552de3b19a9773a8af845f8a0c5e0f54ee5f93c40192d3c3409b7d16489cd4ae5aaad8925404962fc0c4d9fe0357bed SHA512 9449a2616671cac6a34f632c965a0bb59f38d0c0694b4412e547769d5f957b7ab82cef995c77641814c7c6e0682df3f3b754cd48252f44e38ba71e7d72fc448f
-EBUILD autoconf-2.65-r1.ebuild 627 BLAKE2B dad04e7ba06e462a0e25cfd807b6a7b11e374512ee827ea8ad447d48e658158f76da8e8d907bd12979a0167510ebfb7abed21c681159dacfc1ba6f3a99edeb65 SHA512 2b67c3d89ab5f11c446fec2bd7894059639ea171386580b189db8b38876d7db89e02f7d45dc8c2d830f2c3ef13cca4a41c31a5c52039946584a742fce305a019
-EBUILD autoconf-2.67.ebuild 566 BLAKE2B bb05f76561f7e7e72257653c5b9e609a96ab52edd7f3c580cc6f4206451c1e92c1ec870e934755a44d25aa5c58ded287be1937d67aca3d7b1c063c52b4cb21c1 SHA512 5ed9adc3254845c9320cca852461e2c56d7a954483376eea7584ec1604050b69af6167ce6be476a14d61c90c821604f363331e97b44f3166949f5a2944a21525
-EBUILD autoconf-2.68.ebuild 566 BLAKE2B bb05f76561f7e7e72257653c5b9e609a96ab52edd7f3c580cc6f4206451c1e92c1ec870e934755a44d25aa5c58ded287be1937d67aca3d7b1c063c52b4cb21c1 SHA512 5ed9adc3254845c9320cca852461e2c56d7a954483376eea7584ec1604050b69af6167ce6be476a14d61c90c821604f363331e97b44f3166949f5a2944a21525
-EBUILD autoconf-2.69-r4.ebuild 1565 BLAKE2B 8cc4d6f131392e51e9015ea7b2bca5da0936a65cd6c0ea52b6981343f449ae94b25e61d757cf514033454fbe1f03712b881437e97f1cacbea31314a2b4917da3 SHA512 961aff6754be27f7826fa44de16a5b0f5f6a2418bcb313932dcc6c553ddb621404c9e0f1e5e25534297c35cce451f80ce068d32914eb815c566e55b3aea58dae
+EBUILD autoconf-2.69-r4.ebuild 1564 BLAKE2B 3ff6bd7077eb8c149d1bee842cf325677c9e25ff8a56894a1a2e664d07d86188ce6559af63d0c7ce628a50375c98a2ce8b82207a1d29d5ebe24f07ec504096a3 SHA512 85953dfb953cfdeb0cac73e56e6af04d340d3791a8ec41f49a4cdc99f95a5758d5aa7d78b366a6ea118e8c09760cee544e73bb53174af35557e8052ea1bd2401
EBUILD autoconf-2.69.ebuild 1517 BLAKE2B 0ffa84941b0f394404b767506cc3a0efedbc19e6b50e8cd3386ebbb75ae657e3c828791f72c01e95982670ab1783c4be301f7562884b93c1eca6c8d5065b912c SHA512 9ac5e366d81466493aa7e8202bc688670e219071b8bcf0801dec14df0c2977bd3520a95cd343b9658ae7327a4e09b5b9fe4e5c5f9faa4982260b83c1e4368cd4
EBUILD autoconf-9999.ebuild 1361 BLAKE2B 70f04f869ac9481058e94197b617498fc5551ba3358a7f418d4fe2dd87a2263f47eeb431a2422e872a2e4d7fed903933a8914bfc19ba2e372e6a7b2285854a1b SHA512 cbd6d7f64866419b258c7f711eff2dff2f1dbb11847d80d2d7dfa3cadc11c37ec457e9e351ca56dadbeb73b0466e81d24efae4121a02751abdbf63c7595cbce2
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
diff --git a/sys-devel/autoconf/autoconf-2.59-r7.ebuild b/sys-devel/autoconf/autoconf-2.59-r7.ebuild
deleted file mode 100644
index 7eade8183517..000000000000
--- a/sys-devel/autoconf/autoconf-2.59-r7.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit toolchain-autoconf
-
-DESCRIPTION="Used to create autoconfiguration files"
-HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="${PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE=""
-
-DEPEND="=sys-devel/m4-1.4*
- dev-lang/perl"
-RDEPEND="${DEPEND}
- !~sys-devel/${P}:2.5
- >=sys-devel/autoconf-wrapper-13"
-
-PATCHES=(
- "${FILESDIR}"/${P}-more-quotes.patch
-)
diff --git a/sys-devel/autoconf/autoconf-2.61-r2.ebuild b/sys-devel/autoconf/autoconf-2.61-r2.ebuild
deleted file mode 100644
index e1fedced3204..000000000000
--- a/sys-devel/autoconf/autoconf-2.61-r2.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit toolchain-autoconf
-
-DESCRIPTION="Used to create autoconfiguration files"
-HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="${PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE=""
-
-DEPEND=">=sys-devel/m4-1.4.6
- dev-lang/perl"
-RDEPEND="${DEPEND}
- !~sys-devel/${P}:2.5
- >=sys-devel/autoconf-wrapper-13"
-
-PATCHES=(
- "${FILESDIR}"/${P}-GETMNTENT.patch
-)
-
-src_compile() {
- # From configure output:
- # Parallel builds via `make -jN' do not work.
- emake -j1
-}
diff --git a/sys-devel/autoconf/autoconf-2.62-r1.ebuild b/sys-devel/autoconf/autoconf-2.62-r1.ebuild
deleted file mode 100644
index 574a0af6ce74..000000000000
--- a/sys-devel/autoconf/autoconf-2.62-r1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit toolchain-autoconf
-
-DESCRIPTION="Used to create autoconfiguration files"
-HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="${PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE=""
-
-DEPEND=">=sys-devel/m4-1.4.6
- dev-lang/perl"
-RDEPEND="${DEPEND}
- !~sys-devel/${P}:2.5
- >=sys-devel/autoconf-wrapper-13"
-
-PATCHES=(
- "${FILESDIR}"/${P}-revert-AC_C_BIGENDIAN.patch #228825
- "${FILESDIR}"/${P}-at-keywords.patch
- "${FILESDIR}"/${P}-fix-multiline-string.patch #217976
-)
diff --git a/sys-devel/autoconf/autoconf-2.63-r1.ebuild b/sys-devel/autoconf/autoconf-2.63-r1.ebuild
deleted file mode 100644
index 0df070c98765..000000000000
--- a/sys-devel/autoconf/autoconf-2.63-r1.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit toolchain-autoconf
-
-DESCRIPTION="Used to create autoconfiguration files"
-HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="${PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE=""
-
-DEPEND=">=sys-devel/m4-1.4.6
- dev-lang/perl"
-RDEPEND="${DEPEND}
- !~sys-devel/${P}:2.5
- >=sys-devel/autoconf-wrapper-13"
-
-PATCHES=(
- "${FILESDIR}"/${P}-sh.patch #264303
-)
diff --git a/sys-devel/autoconf/autoconf-2.65-r1.ebuild b/sys-devel/autoconf/autoconf-2.65-r1.ebuild
deleted file mode 100644
index 1354433f9d33..000000000000
--- a/sys-devel/autoconf/autoconf-2.65-r1.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit toolchain-autoconf
-
-DESCRIPTION="Used to create autoconfiguration files"
-HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="${PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE=""
-
-DEPEND=">=sys-devel/m4-1.4.6
- dev-lang/perl"
-RDEPEND="${DEPEND}
- !~sys-devel/${P}:2.5
- >=sys-devel/autoconf-wrapper-13"
-
-PATCHES=(
- "${FILESDIR}"/${P}-AC_TYPE_INT_T.patch #324649
-)
diff --git a/sys-devel/autoconf/autoconf-2.67.ebuild b/sys-devel/autoconf/autoconf-2.67.ebuild
deleted file mode 100644
index 4290fee75751..000000000000
--- a/sys-devel/autoconf/autoconf-2.67.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit toolchain-autoconf
-
-DESCRIPTION="Used to create autoconfiguration files"
-HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="${PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE=""
-
-DEPEND=">=sys-devel/m4-1.4.6
- dev-lang/perl"
-RDEPEND="${DEPEND}
- !~sys-devel/${P}:2.5
- >=sys-devel/autoconf-wrapper-13"
diff --git a/sys-devel/autoconf/autoconf-2.68.ebuild b/sys-devel/autoconf/autoconf-2.68.ebuild
deleted file mode 100644
index 4290fee75751..000000000000
--- a/sys-devel/autoconf/autoconf-2.68.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit toolchain-autoconf
-
-DESCRIPTION="Used to create autoconfiguration files"
-HOMEPAGE="https://www.gnu.org/software/autoconf/autoconf.html"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="${PV}"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE=""
-
-DEPEND=">=sys-devel/m4-1.4.6
- dev-lang/perl"
-RDEPEND="${DEPEND}
- !~sys-devel/${P}:2.5
- >=sys-devel/autoconf-wrapper-13"
diff --git a/sys-devel/autoconf/autoconf-2.69-r4.ebuild b/sys-devel/autoconf/autoconf-2.69-r4.ebuild
index eac252939367..bd9e73b13202 100644
--- a/sys-devel/autoconf/autoconf-2.69-r4.ebuild
+++ b/sys-devel/autoconf/autoconf-2.69-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,7 +12,7 @@ if [[ ${PV} == "9999" ]] ; then
else
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz
ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
inherit toolchain-autoconf
diff --git a/sys-devel/autoconf/files/autoconf-2.59-more-quotes.patch b/sys-devel/autoconf/files/autoconf-2.59-more-quotes.patch
deleted file mode 100644
index eb2c8395fa90..000000000000
--- a/sys-devel/autoconf/files/autoconf-2.59-more-quotes.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-http://bugs.gentoo.org/96882
-
-date: 2005/06/23 20:09:27; author: eggert; state: Exp; lines: +29 -34
-Fix some more shell quoting problems. Prompted by a bug report
-from Justace Clutter.
-* lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Allow special
-characters in $ac_unique_file.
-
---- lib/autoconf/general.m4
-+++ lib/autoconf/general.m4
-@@ -476,20 +476,20 @@
- # Try the directory containing this script, then its parent.
- ac_confdir=`AS_DIRNAME(["$[0]"])`
- srcdir=$ac_confdir
-- if test ! -r $srcdir/$ac_unique_file; then
-+ if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
- else
- ac_srcdir_defaulted=no
- fi
--if test ! -r $srcdir/$ac_unique_file; then
-+if test ! -r "$srcdir/$ac_unique_file"; then
- if test "$ac_srcdir_defaulted" = yes; then
- AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $ac_confdir or ..])
- else
- AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $srcdir])
- fi
- fi
--(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
-+(cd $srcdir && test -r "./$ac_unique_file") 2>/dev/null ||
- AC_MSG_ERROR([sources are in $srcdir, but `cd $srcdir' does not work])
- dnl Double slashes in pathnames in object file debugging info
- dnl mess up M-x gdb in Emacs.
diff --git a/sys-devel/autoconf/files/autoconf-2.61-GETMNTENT.patch b/sys-devel/autoconf/files/autoconf-2.61-GETMNTENT.patch
deleted file mode 100644
index 7cdc425e0396..000000000000
--- a/sys-devel/autoconf/files/autoconf-2.61-GETMNTENT.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From: Paul Eggert <eggert@cs.ucla.edu>
-Date: Sat, 16 Dec 2006 05:38:41 +0000 (+0000)
-Subject: * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
-X-Git-Tag: v2.62~386
-X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff_plain;h=a152d401584cd901f7295647af0382948369de79
-
-* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
-Define HAVE_GETMNTENT to 1, not to the empty string.
-Problem originally reported by Jochen Friedrich in
-<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403243>.
----
-
---- a/lib/autoconf/functions.m4
-+++ b/lib/autoconf/functions.m4
-@@ -798,7 +798,7 @@ AC_DEFUN([AC_FUNC_GETMNTENT],
- # -lseq on Dynix/PTX, -lgen on Unixware.
- AC_SEARCH_LIBS(getmntent, [sun seq gen],
- [ac_cv_func_getmntent=yes
-- AC_DEFINE([HAVE_GETMNTENT], [],
-+ AC_DEFINE([HAVE_GETMNTENT], 1,
- [Define to 1 if you have the `getmntent' function.])],
- [ac_cv_func_getmntent=no])
- ])
diff --git a/sys-devel/autoconf/files/autoconf-2.62-at-keywords.patch b/sys-devel/autoconf/files/autoconf-2.62-at-keywords.patch
deleted file mode 100644
index 04cd1807b8a0..000000000000
--- a/sys-devel/autoconf/files/autoconf-2.62-at-keywords.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-commit 3ac7ceb0c2dfd023e0e9e944da6825b6bd676568
-Author: Eric Blake <ebb9@byu.net>
-Date: Thu Jun 5 15:18:11 2008 -0600
-
- Fix regression in AT_KEYWORDS([Macro]), from 2007-10-18.
-
- * lib/autotest/general.m4 (AT_KEYWORDS): Expand argument prior to
- converting it to lower case.
- * tests/autotest.at (Keywords and ranges): Test this.
- * NEWS: Document the fix.
- * THANKS: Update.
- Reported by Karsten Hopp.
-
- Signed-off-by: Eric Blake <ebb9@byu.net>
-
-diff --git a/NEWS b/NEWS
-index 183d4f1..8b866ad 100644
---- a/NEWS
-+++ b/NEWS
-@@ -9,6 +9,10 @@ GNU Autoconf NEWS - User visible changes.
- ** Two new quadrigraphs have been introduced: @{:@ for (, and @:}@ for ),
- allowing the output of unbalanced parantheses in more contexts.
-
-+** AT_KEYWORDS once again performs expansion on its argument, such that
-+ AT_KEYWORDS([m4_if([$1], [], [default])]) no longer complains about
-+ the possibly unexpanded m4_if [regression introduced in 2.62].
-+
-
- * Major changes in Autoconf 2.62 (2008-04-05) [stable]
- Released by Eric Blake, based on git versions 2.61a.*.
-diff --git a/THANKS b/THANKS
-index 5ec8921..224cdea 100644
---- a/THANKS
-+++ b/THANKS
-@@ -177,6 +177,7 @@ Justace Clutter ?
- Jörn Rennecke amylaar@cygnus.co.uk
- Karl Berry karl@cs.umb.edu
- Karl Heuer kwzh@gnu.org
-+Karsten Hopp karsten@redhat.com
- Kate Hedstrom ?
- Kathryn Hargreaves kathryn@deas.harvard.edu
- Kaveh R. Ghazi ghazi@caip.rutgers.edu
-diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4
-index 88d10a3..993dd9f 100644
---- a/lib/autotest/general.m4
-+++ b/lib/autotest/general.m4
-@@ -1476,9 +1476,10 @@ m4_case([$1],
- # AT_KEYWORDS(KEYWORDS)
- # ---------------------
- # Declare a list of keywords associated to the current test group.
--# The list is stored in lower case, since the -k option is case-insensitive.
-+# Since the -k option is case-insensitive, the list is stored in lower case
-+# to avoid duplicates that differ only by case.
- _AT_DEFINE_SETUP([AT_KEYWORDS],
--[m4_append_uniq_w([AT_keywords], m4_tolower([[$1]]))])
-+[m4_append_uniq_w([AT_keywords], m4_tolower(m4_dquote(m4_expand([$1]))))])
-
-
- # AT_CAPTURE_FILE(FILE)
-diff --git a/tests/autotest.at b/tests/autotest.at
-index dc3cfd5..c4c0eda 100644
---- a/tests/autotest.at
-+++ b/tests/autotest.at
-@@ -690,7 +690,7 @@ AT_CHECK(:)
- AT_CLEANUP
- AT_SETUP(both) # 04
- AT_KEYWORDS([key1 key2])
--AT_KEYWORDS([key1])
-+AT_KEYWORDS([m4@&t@_echo([Key1])])
- AT_CHECK(:)
- AT_CLEANUP
- AT_SETUP(test5) # 05
-@@ -713,7 +713,7 @@ AT_CHECK(:)
- AT_CLEANUP
- ]])
- dnl check that AT_KEYWORDS does not duplicate words
--AT_CHECK([grep 'key1.*key1' k], [1])
-+AT_CHECK([grep -i 'key1.*key1' k], [1])
- dnl check that -k requires an argument
- AT_CHECK([$CONFIG_SHELL ./k -k], [1], [], [ignore])
-
diff --git a/sys-devel/autoconf/files/autoconf-2.62-fix-multiline-string.patch b/sys-devel/autoconf/files/autoconf-2.62-fix-multiline-string.patch
deleted file mode 100644
index cfd7b4228794..000000000000
--- a/sys-devel/autoconf/files/autoconf-2.62-fix-multiline-string.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-sniped from mandrivia:
-http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/autoconf/current/SOURCES/autoconf-2.62-fix-multiline-string.patch
-
-this may not be the correct fix, but it seems to get the job done until we can
-grab whatever upstream merges
-http://lists.gnu.org/archive/html/bug-autoconf/2008-04/msg00031.html
-
---- autoconf-2.62/lib/autoconf/status.m4
-+++ autoconf-2.62/lib/autoconf/status.m4
-@@ -1360,16 +1360,16 @@ _ACEOF
- cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- # Files that config.status was made for.
- m4_ifdef([_AC_SEEN_CONFIG(FILES)],
--[config_files="$ac_config_files"
-+[config_files="`echo $ac_config_files`"
- ])dnl
- m4_ifdef([_AC_SEEN_CONFIG(HEADERS)],
--[config_headers="$ac_config_headers"
-+[config_headers="`echo $ac_config_headers`"
- ])dnl
- m4_ifdef([_AC_SEEN_CONFIG(LINKS)],
--[config_links="$ac_config_links"
-+[config_links="`echo $ac_config_links`"
- ])dnl
- m4_ifdef([_AC_SEEN_CONFIG(COMMANDS)],
--[config_commands="$ac_config_commands"
-+[config_commands="`echo $ac_config_commands`"
- ])dnl
-
- _ACEOF
diff --git a/sys-devel/autoconf/files/autoconf-2.62-revert-AC_C_BIGENDIAN.patch b/sys-devel/autoconf/files/autoconf-2.62-revert-AC_C_BIGENDIAN.patch
deleted file mode 100644
index 76db013cac53..000000000000
--- a/sys-devel/autoconf/files/autoconf-2.62-revert-AC_C_BIGENDIAN.patch
+++ /dev/null
@@ -1,214 +0,0 @@
-revert AC_C_BIGENDIAN to the version found in 2.61 since the version in 2.62 is
-known to be broken and the changes that it brings are not critical
-
-http://bugs.gentoo.org/228825
-
---- autoconf-2.62/lib/autoconf/c.m4
-+++ autoconf-2.61/lib/autoconf/c.m4
-@@ -1393,140 +1351,74 @@
- ])# AC_C_CHAR_UNSIGNED
-
-
--# AC_C_BIGENDIAN ([ACTION-IF-TRUE], [ACTION-IF-FALSE], [ACTION-IF-UNKNOWN],
--# [ACTION-IF-UNIVERSAL])
-+# AC_C_BIGENDIAN ([ACTION-IF-TRUE], [ACTION-IF-FALSE], [ACTION-IF-UNKNOWN])
- # -------------------------------------------------------------------------
- AC_DEFUN([AC_C_BIGENDIAN],
--[AH_VERBATIM([WORDS_BIGENDIAN],
--[/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
-- significant byte first (like Motorola and SPARC, unlike Intel and VAX). */
--#if defined __BIG_ENDIAN__
--# define WORDS_BIGENDIAN 1
--#elif ! defined __LITTLE_ENDIAN__
--# undef WORDS_BIGENDIAN
--#endif])dnl
-- AC_CACHE_CHECK([whether byte ordering is bigendian], [ac_cv_c_bigendian],
-- [ac_cv_c_bigendian=unknown
-- m4_ifval(m4_ifdef([AH_HEADER], 1)[$4],
-- [# See if __BIG_ENDIAN__ or __LITTLE_ENDIAN__ is defined.
-- AC_COMPILE_IFELSE(
-- [AC_LANG_SOURCE(
-- [[#if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__)
-- neither is defined;
-- #endif
-- typedef int dummy;
-- ]])],
-- [ac_cv_c_bigendian=universal])],
-- [AC_DIAGNOSE([obsolete], [AC_C_BIGENDIAN suggests AC_CONFIG_HEADERS])])
-- if test $ac_cv_c_bigendian = unknown; then
-- # See if sys/param.h defines the BYTE_ORDER macro.
-- AC_COMPILE_IFELSE(
-- [AC_LANG_PROGRAM(
-- [[#include <sys/types.h>
-- #include <sys/param.h>
-- ]],
-- [[#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
-- && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
-- && LITTLE_ENDIAN)
-- bogus endian macros
-- #endif
-- ]])],
-- [# It does; now see whether it defined to BIG_ENDIAN or not.
-- AC_COMPILE_IFELSE(
-- [AC_LANG_PROGRAM(
-- [[#include <sys/types.h>
-- #include <sys/param.h>
-- ]],
-- [[#if BYTE_ORDER != BIG_ENDIAN
-- not big endian
-- #endif
-- ]])],
-- [ac_cv_c_bigendian=yes],
-- [ac_cv_c_bigendian=no])])
-- fi
-- if test $ac_cv_c_bigendian = unknown; then
-- # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
-- AC_COMPILE_IFELSE(
-- [AC_LANG_PROGRAM(
-- [[#include <limits.h>
-- ]],
-- [[#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
-- bogus endian macros
-- #endif
-- ]])],
-- [# It does; now see whether it defined to _BIG_ENDIAN or not.
-- AC_COMPILE_IFELSE(
-- [AC_LANG_PROGRAM(
-- [[#include <limits.h>
-- ]],
-- [[#ifndef _BIG_ENDIAN
-- not big endian
-- #endif
-- ]])],
-- [ac_cv_c_bigendian=yes],
-- [ac_cv_c_bigendian=no])])
-- fi
-- if test $ac_cv_c_bigendian = unknown; then
-- # Compile a test program.
-- AC_RUN_IFELSE(
-- [AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
-- [[
-- /* Are we little or big endian? From Harbison&Steele. */
-- union
-- {
-- long int l;
-- char c[sizeof (long int)];
-- } u;
-- u.l = 1;
-- return u.c[sizeof (long int) - 1] == 1;
-- ]])],
-- [ac_cv_c_bigendian=no],
-- [ac_cv_c_bigendian=yes],
-- [# Try to guess by grepping values from an object file.
-- AC_COMPILE_IFELSE(
-- [AC_LANG_PROGRAM(
-- [[short int ascii_mm[] =
-- { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
-- short int ascii_ii[] =
-- { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
-- int use_ascii (int i) {
-- return ascii_mm[i] + ascii_ii[i];
-- }
-- short int ebcdic_ii[] =
-- { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
-- short int ebcdic_mm[] =
-- { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
-- int use_ebcdic (int i) {
-- return ebcdic_mm[i] + ebcdic_ii[i];
-- }
-- extern int foo;
-- ]],
-- [[return use_ascii (foo) == use_ebcdic (foo);]])],
-- [if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
-- ac_cv_c_bigendian=yes
-- fi
-- if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
-- if test "$ac_cv_c_bigendian" = unknown; then
-- ac_cv_c_bigendian=no
-- else
-- # finding both strings is unlikely to happen, but who knows?
-- ac_cv_c_bigendian=unknown
-- fi
-- fi])])
-- fi])
-- case $ac_cv_c_bigendian in #(
-- yes)
-- m4_default([$1],
-- [AC_DEFINE([WORDS_BIGENDIAN], 1)]);; #(
-- no)
-- $2 ;; #(
-- universal)
-- $4 ;; #(
-- *)
-- m4_default([$3],
-- [AC_MSG_ERROR([unknown endianness
-- presetting ac_cv_c_bigendian=no (or yes) will help])]) ;;
-- esac
-+[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
-+[# See if sys/param.h defines the BYTE_ORDER macro.
-+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
-+#include <sys/param.h>
-+],
-+[#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
-+ && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
-+ bogus endian macros
-+#endif
-+])],
-+[# It does; now see whether it defined to BIG_ENDIAN or not.
-+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
-+#include <sys/param.h>
-+], [#if BYTE_ORDER != BIG_ENDIAN
-+ not big endian
-+#endif
-+])], [ac_cv_c_bigendian=yes], [ac_cv_c_bigendian=no])],
-+[# It does not; compile a test program.
-+AC_RUN_IFELSE(
-+[AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], [[
-+ /* Are we little or big endian? From Harbison&Steele. */
-+ union
-+ {
-+ long int l;
-+ char c[sizeof (long int)];
-+ } u;
-+ u.l = 1;
-+ return u.c[sizeof (long int) - 1] == 1;
-+]])],
-+ [ac_cv_c_bigendian=no],
-+ [ac_cv_c_bigendian=yes],
-+[# try to guess the endianness by grepping values into an object file
-+ ac_cv_c_bigendian=unknown
-+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
-+[[short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
-+short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
-+void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
-+short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
-+short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
-+void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }]],
-+[[ _ascii (); _ebcdic (); ]])],
-+[if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
-+ ac_cv_c_bigendian=yes
-+fi
-+if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
-+ if test "$ac_cv_c_bigendian" = unknown; then
-+ ac_cv_c_bigendian=no
-+ else
-+ # finding both strings is unlikely to happen, but who knows?
-+ ac_cv_c_bigendian=unknown
-+ fi
-+fi])])])])
-+case $ac_cv_c_bigendian in
-+ yes)
-+ m4_default([$1],
-+ [AC_DEFINE([WORDS_BIGENDIAN], 1,
-+ [Define to 1 if your processor stores words with the most significant
-+ byte first (like Motorola and SPARC, unlike Intel and VAX).])]) ;;
-+ no)
-+ $2 ;;
-+ *)
-+ m4_default([$3],
-+ [AC_MSG_ERROR([unknown endianness
-+presetting ac_cv_c_bigendian=no (or yes) will help])]) ;;
-+esac
- ])# AC_C_BIGENDIAN
-
-
diff --git a/sys-devel/autoconf/files/autoconf-2.63-sh.patch b/sys-devel/autoconf/files/autoconf-2.63-sh.patch
deleted file mode 100644
index 8008b32b6022..000000000000
--- a/sys-devel/autoconf/files/autoconf-2.63-sh.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-http://bugs.gentoo.org/264303
-http://lists.gnu.org/archive/html/bug-autoconf/2008-10/msg00040.html
-
-From: Chikama Masaki <masaki.chikama@gmail.com>
-Date: Fri, 24 Oct 2008 01:41:06 +0000 (-0600)
-Subject: For gfortran on sh, ignore -little.
-X-Git-Tag: v2.63b~206
-X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff_plain;h=3f38aad
-
-For gfortran on sh, ignore -little.
-
-* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add -little to
-list of ignored arguments.
-* THANKS: Update.
-
-Signed-off-by: Eric Blake <ebb9@byu.net>
----
-
-diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4
-index 20d9e0c..ad0c2ee 100644
---- a/lib/autoconf/fortran.m4
-+++ b/lib/autoconf/fortran.m4
-@@ -686,7 +686,8 @@ while test $[@%:@] != 1; do
- [_AC_LINKER_OPTION([$ac_arg], ac_cv_[]_AC_LANG_ABBREV[]_libs)])
- ;;
- # Ignore these flags.
-- -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
-+ -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
-+ |-LANG:=* | -LIST:* | -LNO:*)
- ;;
- -lkernel32)
- test x"$CYGWIN" != xyes && ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg"
diff --git a/sys-devel/autoconf/files/autoconf-2.65-AC_TYPE_INT_T.patch b/sys-devel/autoconf/files/autoconf-2.65-AC_TYPE_INT_T.patch
deleted file mode 100644
index cc81672e427e..000000000000
--- a/sys-devel/autoconf/files/autoconf-2.65-AC_TYPE_INT_T.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-https://bugs.gentoo.org/324649
-http://lists.gnu.org/archive/html/bug-autoconf/2009-12/msg00016.html
-
-From 83ee5bc460a1083ab29fd9d3a3044cbaefad6ac6 Mon Sep 17 00:00:00 2001
-From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
-Date: Wed, 9 Dec 2009 07:20:16 +0100
-Subject: [PATCH] Fix 2.64 AC_TYPE_INT*_T macro body text regression.
-
-* lib/autoconf/types.m4 (_AC_TYPE_INT_BODY): Move helper enum
-definition to prologue section, to avoid syntax error.
-* NEWS, THANKS: Update.
-Report by Pierre Ynard.
-
-Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
----
- ChangeLog | 8 ++++++++
- NEWS | 3 +++
- THANKS | 1 +
- lib/autoconf/types.m4 | 12 ++++++------
- 4 files changed, 18 insertions(+), 6 deletions(-)
-
-diff --git a/lib/autoconf/types.m4 b/lib/autoconf/types.m4
-index 7a73fc2..3829c4c 100644
---- a/lib/autoconf/types.m4
-+++ b/lib/autoconf/types.m4
-@@ -635,14 +635,14 @@ m4_define([_AC_TYPE_INT_BODY],
- 'long long int' 'short int' 'signed char'; do
- AC_COMPILE_IFELSE(
- [AC_LANG_BOOL_COMPILE_TRY(
-- [AC_INCLUDES_DEFAULT],
-- [enum { N = $[]2 / 2 - 1 };
-- 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)])],
-+ [AC_INCLUDES_DEFAULT
-+ enum { N = $[]2 / 2 - 1 };],
-+ [0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)])],
- [AC_COMPILE_IFELSE(
- [AC_LANG_BOOL_COMPILE_TRY(
-- [AC_INCLUDES_DEFAULT],
-- [enum { N = $[]2 / 2 - 1 };
-- ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
-+ [AC_INCLUDES_DEFAULT
-+ enum { N = $[]2 / 2 - 1 };],
-+ [($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
- < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2)])],
- [],
- [AS_CASE([$ac_type], [int$[]2_t],
---
-1.7.1
-
diff --git a/sys-devel/bc/Manifest b/sys-devel/bc/Manifest
index 96b920bb6d4b..4766bb55411c 100644
--- a/sys-devel/bc/Manifest
+++ b/sys-devel/bc/Manifest
@@ -3,6 +3,6 @@ AUX bc-1.06.95-void_uninitialized.patch 351 BLAKE2B ad293d5efcebc2cf85a2d1a99e85
DIST bc-1.06.95.tar.bz2 290069 BLAKE2B 774f07b1f85b4de7c4707baa355caed5a9fc7b3a5ee1a14f4e9fd59f47a4bbdf34bcb76dc05de4dd8c65615284c3588ad7961fa493ed559a0e8880647835bda0 SHA512 16ec13f87ef76ad4de77d378ef8d65a582adca1bf661c9d7675e78d940680c77e81a00a01817fde7c1ad1524562d6f933caa5c42a0686f3f85aadbb39393afb1
DIST bc-1.07.1.tar.gz 419850 BLAKE2B dcedc193be5521aa0fa3a19746233ed65bc1fe8ef12e15155341706de6fbeecb6dd7ee4ab11e2d4b3aca2ae7097cce89e389b3573493bbc893e00b4ed3239594 SHA512 02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34
EBUILD bc-1.06.95-r1.ebuild 1510 BLAKE2B 2d4e498eebe76077986a82c249c6bcbd2fcf6628b27c499cdab4952822b992d11854cac88832f30c5a7b618f96bc9b2063fdce9bb3f118d8df5b0400f7f0a52f SHA512 d246ee01a277848789ac860c52d4b1bbab93246b02e5baf09099ba1e88978f824e34abaefa732a4cdf7b41bc7186f959c622fbe2b9fceb14af41e0a313f3b1f4
-EBUILD bc-1.06.95-r2.ebuild 1618 BLAKE2B 6aca65843c7ae9adabd29865288c81fc544671f5f8f27febf97a04eb3516728187d9e3eb736485616af670ba5443866b355981d05b3d97448c1931e85e1ff13c SHA512 25fb59a3666e7f1ec64e61c737f14d66fe0c480bf2c4011d094d2cceed1dea9961fdca716543fbbdcafea7e295376f64a1f61a2a56f29ea2ddc3827ec3809d11
-EBUILD bc-1.07.1-r1.ebuild 1428 BLAKE2B 5906c47db0d91b491eab1ff96ea8800dc5b33a5369318cad29a33d1680381772d375ea77580b8bd4bcff0969255ac77104f9bca3be158029da741d1a2bd175d6 SHA512 5e78ec01eb60c593655677eecd0fb8d4a5f0b941bf90d90b172cb2a9eb85751a2a8012c905dede7bbf14718eb8ca7f5be3f9770e16e33d5fefd80fb271dc51d4
+EBUILD bc-1.06.95-r2.ebuild 1638 BLAKE2B cbb52c9ea674745c49acedb92a2f4ae28061b2314e855136aaf05bbf57551137c5680a8a8cc6d88a5c614c61db5bdf8053d1e8fbde673dfae9d4669667d69200 SHA512 79c65179779809389e16d4ec51d9d33b42b115c7fe8d6ab29cbbd5bec4bfadc15be578bcc42feafa0a8bd62391bc497ba0fd9f7863349f2ad9667273e506d4a9
+EBUILD bc-1.07.1-r1.ebuild 1273 BLAKE2B afc42976eb7c32847e0979a9d551c4504e3fc702781c7dea59efafb21937d8a824bfa6bfa67880aead8c3fb129e5bf2a4c065d28108f64bb0cda33ce730dadf3 SHA512 16bd0dc631c798e1ff3a1a42b887a149204bb48ec9efdd097a6ebfe8d31a1fa163530dbc7fa77b9ab174cacc96cb31ae1f9dac298cf51a13aff89d0c127fc964
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
diff --git a/sys-devel/bc/bc-1.06.95-r2.ebuild b/sys-devel/bc/bc-1.06.95-r2.ebuild
index 6730e90a8280..e74a6b74e03b 100644
--- a/sys-devel/bc/bc-1.06.95-r2.ebuild
+++ b/sys-devel/bc/bc-1.06.95-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -15,13 +15,18 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="libedit readline static"
-RDEPEND="!readline? ( libedit? ( dev-libs/libedit:= ) )
+RDEPEND="
+ !readline? ( libedit? ( dev-libs/libedit:= ) )
readline? (
>=sys-libs/readline-4.1:0=
>=sys-libs/ncurses-5.2:=
- )"
-DEPEND="${RDEPEND}
- sys-devel/flex"
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/flex
+ virtual/yacc
+"
src_prepare() {
epatch "${FILESDIR}"/${P}-void_uninitialized.patch #349339
diff --git a/sys-devel/bc/bc-1.07.1-r1.ebuild b/sys-devel/bc/bc-1.07.1-r1.ebuild
index fcd02f0f33eb..7efced6d3eb0 100644
--- a/sys-devel/bc/bc-1.07.1-r1.ebuild
+++ b/sys-devel/bc/bc-1.07.1-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI=6
inherit flag-o-matic toolchain-funcs
@@ -14,30 +14,32 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="libedit readline static"
-RDEPEND="!readline? ( libedit? ( dev-libs/libedit:= ) )
+RDEPEND="
+ !readline? ( libedit? ( dev-libs/libedit:= ) )
readline? (
>=sys-libs/readline-4.1:0=
>=sys-libs/ncurses-5.2:=
- )"
-DEPEND="${RDEPEND}
+ )
+"
+DEPEND="
+ ${RDEPEND}
sys-apps/ed
- sys-devel/flex"
+ sys-devel/flex
+ virtual/yacc
+"
src_configure() {
- local libedit
+ local myconf=(
+ $(use_with readline)
+ )
if use readline ; then
- libedit="--without-libedit"
+ myconf+=( --without-libedit )
else
- libedit=$(use_with libedit)
+ myconf+=( $(use_with libedit) )
fi
use static && append-ldflags -static
- # Clobber any CONFIG_SHELL setting the user has forced on us.
- # We should be able to delete this w/the next release as it
- # should use updated autoconf.
- CONFIG_SHELL=/bin/bash \
- econf \
- $(use_with readline) \
- ${libedit}
+
+ econf "${myconf[@]}"
# Do not regen docs -- configure produces a small fragment that includes
# the version info which causes all pages to regen (newer file). #554774
diff --git a/sys-devel/binutils-apple/Manifest b/sys-devel/binutils-apple/Manifest
index 70e154affbda..0aad57f63ae4 100644
--- a/sys-devel/binutils-apple/Manifest
+++ b/sys-devel/binutils-apple/Manifest
@@ -1,3 +1,5 @@
+DIST binutils-apple-LP64-patches-1.tar.bz2 10235 BLAKE2B 3352170bcfe73c574217597233ca58c7d6ebeedf9dfe9da1399953dfe1a0c87fc26e9ba8864620ddd67c6f38e48aeb6950737637605f0b860eb4a0d246f3aff7 SHA512 5632d4033c39e47de3ec275d02100ed53408a63122fe722c26dda1b02275c397524b113e51e1334d3235fc7f0a3bb8e53d4ccc1c2e40f24c6129282846da22e1
+DIST binutils-apple-patches-3.2-r0.tar.bz2 4137 BLAKE2B 9cd7afbba5337cb9c395556b2691e4acd73ee323d643da4335f6465ccc29b06f889d01fb42c7778576607bfdb859e2df38d3ebf82d4bf7f0971079da6985f237 SHA512 5381a93d61c39993cdb294ecb238016e26cdfe283fae553f75ddc6662812709301d5208c770ac0992d1dfab92e4802c660e6fb4336ad891335ab716d3b042805
DIST binutils-apple-patches-4.3-r1.tar.bz2 37363 BLAKE2B a5ad04d4bf746a864f03a25d052197ed9a6ecada1f34460f4e38bea8cd87dfe2cb6c7f99f2096acac2231cd1e0c13c53757854b07f729a7a0c5a162a908fbe83 SHA512 f5d64ad182891c3af971e6aabd3c0c1b717b6a1cb471632339cba61b41a998d15880d18de09aafa1c3d059e528c888d6e8b914025c79bc21897d90a6d0e2ebf5
DIST binutils-apple-patches-5.1-r2.tar.bz2 51642 BLAKE2B 1b44020a05e0a91cfe569273f1e3dc65afaeac4bcdb80a626bdcc1f30cf8fbba6cc7bb522ece93126d4035b2d309defefd17fe0cee5bcaadcc58c4fa0feb4827 SHA512 37ba0dcae6c10b54a07c6208f6893ab80b0de1bd1c2f677902f707c8290629f7671a481e256b57a18bf304b95e41e4d59519bc1c88f15de488c0ef7e142f5cd8
DIST binutils-apple-patches-6.1-r1.tar.bz2 42189 BLAKE2B 8505acaff6343b2f4dffe9c1dd78e360762f0ad78d39fbc0227265ed8b6768dba62c1a7d6784ca685934942e1a211c70275474001b066e3292c579fa0aa2f356 SHA512 be8ee5af5c8c9f9228cf6980f032aa101058ac1a414bec89401dbc4ff32ea96d6ebf96b7b79285fa1e7b4037a9ed68b285dbe59ff8e3d3e62bfc0145199e72f3
@@ -9,6 +11,7 @@ DIST binutils-apple-patches-7.3-r0.tar.bz2 44576 BLAKE2B a9f23fe66f9b3e25b8975c9
DIST binutils-apple-patches-7.3-r1.tar.bz2 44737 BLAKE2B 4ac5d3b50c04b1ab71dc1c266db8b44e9d34f12bcc8a53966232cb5a6999b2662f9891367a2e7f8ea4f0f014b19594c1adf8dd945a18419980bca729c1de302e SHA512 ce4b3a725e19cb632b0c101a32488ce09a8bb89aed08339d5518d834cb68c525b2e0c8b66564a945c077915e92cc6be3f7028c5baacb870b3ca9b9422b4fb0da
DIST binutils-apple-patches-8.2-r0.tar.bz2 5771 BLAKE2B b562ea4dd9214bc66695dbdb2452c88b1885ae1e36904516ea664157cbf0b54421d80cd0df792fcc431a3e0b98e804488c651b3fa29b368445450d0d13a1502c SHA512 92d04396630a31b752a24845c27fe8da2e37eb176117c9b31193e8f48af7ade707cda4060289b848965310afd05b2f121c740b0e5baa56b79c5481273a88c84e
DIST binutils-apple-patches-8.2-r1.tar.bz2 10830 BLAKE2B 345db8619873e9e91b79c3fdc0685fc46f82366df0b6153c1a59fbe5c122622e799754397e980e8752ef01ef25bbac81bb8f0339e92168790211b1d9c03bef2d SHA512 e7ca8cbac75671846c044abcd5415cfcf5832ff71acd5a2799b643369b02f2f7148990398c51913a3758e589f9fbff875e333aadf568e2a8a2defeafaa2aca95
+DIST cctools-750.tar.gz 1947953 BLAKE2B c2c6176daaeac0ca407c13c19ce15a84be639510d95c15bca654ba3415fe64a136a0155bcd3c8a34696c35cfe6989f1177a486cc71acc157b42d7c706b23fb29 SHA512 e2e152a9fb7db47c60fe450e1fc92c6866ab89682c7fdc594b97e419ce93ea1353654bd4419bf3df99d119f554aa0f32993dc645dd7c4680840cd01b7dce2f67
DIST cctools-822.tar.gz 2024412 BLAKE2B 6b58499a9dfc2a1b166ff428f1e263cd44e03c50cdc8f6e467cfee93bc2dc2a9c81bf7626479dce195b152f04217e2d3a427afac45484cba4c5f2bdfbb7e46f9 SHA512 8b02cc837d5e0520f35da445f25ba86b5042d5caa27b49a599e829ed89428cf78dbd1831bcf6c18301f941fbfb31ac2114e248041d98008a466e1574f4fe1586
DIST cctools-855.tar.gz 1699635 BLAKE2B 4d98cf2bbced6894083dc2733a35cf9a4c47f71172fe98265a8f047218cc90276085919129553e3a1ea0658416eebf3b7cf0908bd32ac1a224480554257999ee SHA512 50f5d015ce807aa5ca274dd2deea810b8b375110e60b5e334ca4b2170526b738ea5f86a5436caebbdb748badc3b89601d0f450f5b867d8393c89e336a3db4b3f
DIST cctools-862.tar.gz 1702345 BLAKE2B de84058aa78824562b0eabf93a29badaba0908a7140336a281a6ea46a9b09d893433a908c299e8de866a76e0eeb98b730570958fc8fac559ccc6e35f5138b121 SHA512 faa401c1dc55bfb9cd2a9a9cc7bc9d473ee63b019607967c8b0da325514d6a1f7b1f52404370bcc018e86d30d75a4b01183f49b793f577110663efe43871360a
@@ -35,21 +38,23 @@ DIST ld64-264.3.101.tar.gz 681491 BLAKE2B d924b8865924d7d2b55886221c0e8c6ed0b50c
DIST ld64-264.3.102.tar.gz 681509 BLAKE2B 4a0699ec761bd145b8034c8577ce9f843c9384fee5486855565d1d89858a445492d66aca2798a6e9c1bb4f59328680c05bcf1cd024d917c063e74d3549073ce0 SHA512 ec221de3624dcce3db694ec2d7b05f3c939cd1ba79c97437ba9f2d4e5d9c37369bb5df82cc37bc158bf5c4e2128cc2b96ca1a7477f98538850092bffa4601da0
DIST ld64-274.1.tar.gz 670493 BLAKE2B 00ab46b09f29c6143c5066ffb0a12017fb2268a5f205c41851a95bc38443aa5494ce81b793a6668bcd3a8abb0ba4215f0da372c413ae52e4ca1e437ad370f8e0 SHA512 ef5d6802f759e09aa2dfab7eb84e9cd2a57b28da3f150833cf1a922c395dd696e501b1bcb10385cbe995f4945fc6c99c2d2d8c50c42f369186bdc1ac3e30ad99
DIST ld64-274.2.tar.gz 671652 BLAKE2B f45bb65bbe65c7baff54dec633a49b8ea472a59a7978aa050b329132963b26e4a2b3ef3dd034b04247531a11a07de5135b3726a429165cbfcae50e06c09531f4 SHA512 7b4e17f199909450b697bf719564c6841d46f5116c48dd47ff483ae7ddfe2965db1b7c024ed8ebeeaf90cd983ed353b95f7f23c93c8971536977dc892e6d6a9d
+DIST ld64-85.2.1.tar.gz 598524 BLAKE2B 92cb3c763cc067e2ee6c4fec910f078cc69daca2a328a74ebc988908b1655138873b69bfb0c19b284f0aedb678e99de3866d4f13460cb3427985704093dca37a SHA512 b5ffaffc43e74f22688fecd9fb3023a59160cf051f9412f34e6b0acf1c4f9d43ba641e199d8d6b1c6cf3bbbbf117645988fd879ded1fec8be056b6941fe79999
DIST libunwind-30.tar.gz 82811 BLAKE2B 26993d6afa6930931c01b579326964a66832ed7a6ffa26eff10016c8d6d175d3b671753cf8700dcdbae7f0a9c01b16e9cbd3c9fe86697608f1f08a8eceb64782 SHA512 57106eafa1516791b4e0db2de6c6336bc0c1cbd8bf098a6d3a809fafa457802c95a7aeae9137f4ca5922a3018dfd8f597907ea4187b0afbbf267500eae00041f
DIST libunwind-35.3.tar.gz 90002 BLAKE2B d63ab0ae6e66a6f35ec17de9713d3bf4853cd80af218e868762b20dd8a44d42cd9ff8fce1d8c46fca4759144726bbf248a02a5dede5a94a2b75d3b45ddb7d018 SHA512 b7d9a86ef24f1fe9ca14517471e03a910219a229af9f0d4cf94435115971360640451107ba20c93fb1aab788f8b6eb5ed580ee08fdaa990b9fa43e9ae360c6b4
-EBUILD binutils-apple-4.3-r2.ebuild 10300 BLAKE2B f02d40e6d894d971b060ab5f925577e726dd323f3a30ed7225d2bcdf308c589aead8b0e64044e789210ca7f85807e015fa944264e7a0f35db29da4a5d9eafdbf SHA512 7709d446c90b3c7dd3131c952249b85817b65613182ba47411a41213951e46dd080c2559e552bdb386f388bcc2306b333963c6489cab8fc24248eb5b7c95ef74
-EBUILD binutils-apple-5.1-r1.ebuild 12194 BLAKE2B 865e2a588bac071164a7a0f57cbe48166b8a50ecc7bea6e83658027cc254ab2edfaf661d0c6878f6ed45208336726a6ce3997d89628f4da8bef35639d2d2b711 SHA512 d50b50c71822bb9d341790318133ddaf6d5342be77dd3649c1af1cd4d9c223e119fad46b87ef0465d2ebf3e768e5b4c6425b73100b94d78f0595fcf2ea4c7240
-EBUILD binutils-apple-6.1-r1.ebuild 12268 BLAKE2B 1add025593f872d02ae2b89d23210dd0bf9eb1e314a978a96d5c38768b5094ba92d94eedbe4c5a83bb794d01165d95edc08e43ba259cb7c20de26d905414b69f SHA512 1b6ab3f9ec1892b73ceab616b0ccc6de778ce008989bb28864943bad416dd8fa8654b01e7613cc35852df616a999f04acda4cfe3e6945ae021a9df8454894a8b
-EBUILD binutils-apple-6.3-r1.ebuild 11973 BLAKE2B daac202f8cffa7539cb88d3ae5ba42715d23134672ad42b254b94604c3f7e5a3de3b389b17bb846817495051dab3126f165fb9c983b7a67c3c32fc8a1ba08596 SHA512 1b47c66c969d91372f1e919c091548e7f3b2dae8de97afb2fc86b0e49cf5091ac935fbbebb264a362e351e3497f6816d51b046557c8530620aeba89a72872ddb
-EBUILD binutils-apple-7.0-r1.ebuild 11966 BLAKE2B 43172e08a0eb1deec7058eecf74f335c036141d1a5d5cf8153eaefe0d01ec8dad70fe274a3c6f4446476d1f20ddd34d3536aceeaffc4c21fefe2ce6aed5ec9e9 SHA512 48e7cf9eef8228e6c7968c4d82c5bf6aab3591f4920481a1704a9979d1210b0993ae54d9877c0c1fc7c4a4bfb92854feaa0a42f485bc55e4b0aea3b47c694f71
-EBUILD binutils-apple-7.0.ebuild 12071 BLAKE2B 6239a8aeeb1fa068551aa8a290521bf61dce6ce47fedaddc33391ef649f35c026d8a519c0e9591cd54b607247230f49c995196d5bce540bc8296a171b5601ca5 SHA512 e0c106f0972211f33500e5de2ba0cb48bc0119a4cf581c146ca5e7453d2ecc0102c5a1c82a835555ea87179c9eafd3d82aa078e91338a2364d0fb8c70dbb07c2
-EBUILD binutils-apple-7.1-r1.ebuild 11966 BLAKE2B 405ca28d5c4f2deb1dad8426824cdbae52507c8cfaae68a727383766b7c5afdfa11897d20d93a2d755f29a208f14494a371065028c75b0f245277f99b6ebe8cd SHA512 bc66d390a90d5ab79b80d7e3416816595e2be783dc2b597ea378b77137d2d1958f2292c755e2f2895cfb73c86118f4a200497c8e4b17a71aac66628fcae6937e
-EBUILD binutils-apple-7.1.ebuild 12071 BLAKE2B 9762eab3b287b537adf4715b78ea29bfa6125fcf9c33e4b6607cacc8fe1bf82915a5bf3ae1f4b1857c951c96fc4a014efd21b36295e2717d4bee1314077bb5ba SHA512 9f78728988f1c002751790bd4228d3540d56e1998a18b610cba0ec2a1af197f18df3ccd630ccdafb3be5ae4bed938219e420a15576b61af50d3d500ad1c9ad68
-EBUILD binutils-apple-7.2-r1.ebuild 12038 BLAKE2B e336d567573d7415f35e743a707d61cf82d451641708731ebfc38e397bc8d1e116c566d20df956f9a0b5219e7637dd14c628a20260101ab271c7905799b34882 SHA512 f45fa298c8bf1c3fdd208db195e97331f8f3e84b3d675f450a812563a96dfb49de6b369ab75e393b6ce43e9ba8d4dd47a9d860ee9dc722ed591b41e63dc1ce0a
-EBUILD binutils-apple-7.2.ebuild 12071 BLAKE2B a087e402865d31f693541c97b1d6754e410dbc0e07a6f2e862d1752c3cfb83f87e8e383ef16267dd1e4973b4d48521b0ff959c553939f46d17df595def9f30e8 SHA512 c73b4a136143bdb379e762575af1c1db057527b6d2fe05bf1e971297b0057a04fa7e75bc0fe4629030046a9d28ef1a7a664101800318704768d3038117aca219
-EBUILD binutils-apple-7.3.1.ebuild 13250 BLAKE2B ea152eaecaf778e06b0c64e5eafe1e35e296a2658d877e2bf42a0642b5f2fadfe665dabe37bd0bcffbb98156f5d47b07c840f4d24f46f317e8843a39a8dcb342 SHA512 8fd675d434a9522b3d2a0bca532ce788070ee3dc828eb0bdcb03e4d33391864846996d0c7d4432f52aae946ac0cabdd44edf9dc6ce9913aefc95ca01a2c04fd3
-EBUILD binutils-apple-7.3.ebuild 12902 BLAKE2B 02ad445c4b354fdcd3435416ad19b9f0c855de1f04c31e93771d5dcc3ef604977771e4a606b718c908d332c5792eacfc976dc63a046b3628c0fdd5b223518c2b SHA512 12dfdbf609eba1d7225cd5dbbcbe18d0355d438f94cddf7616bb21a60d780cff2a13df678784ea97c3631948d6a73c1453cc59e069e4fd6e9bcfae598ee1bb87
-EBUILD binutils-apple-8.1.ebuild 10435 BLAKE2B 5a98eb64c21ed3a9bd2bac06ba0b41cfb62aeb246b810d7678fb3af3160f5f4d6df431805b461e9e10ba3eab7f0662643433fc6a8487b7ac253dd9cf559d3ce8 SHA512 f27d9a19b2fd903cb888d64e481400d48919745c4f9b40953cd4188de25fe5d9f338735dfcfa5fc4b9d5bf20662425aa3a0f4a3b2c2de04f8faba0af5d1c044b
-EBUILD binutils-apple-8.2.1-r1.ebuild 11460 BLAKE2B 79b74e601b5b8465e0d1e9919cce0d485d360af563d9d41cd793db78ac9b0a6ee22dec7fb30975df76e3b61b36ef37fd1233dbc1e794096c401e382b58db3087 SHA512 9c4a71e8230fa241908662e65d6dbf6e906f888a5d80f6c288587d3496080215ac3679d52034254aea1fc06b31b7d618fac6dd29b6018d22c770132fd9953a8c
-EBUILD binutils-apple-8.2.1.ebuild 10435 BLAKE2B a93d9108e2b39ac26147a21dacc57e01f1c8eaee11f130c0278901a87025d03fcadc65e1d82837384bac87d3070030f494979ed0e2f3ba499dff0908a7f40d65 SHA512 92b8176fb8ad383833a25c6b49e57a8bd41b3a9615fb4bd84d32ce1a00f269410f6e2306b2664f713f4ec399288d383a9e5358718257fce2da6574652f41ab0d
+EBUILD binutils-apple-3.2.ebuild 5886 BLAKE2B c0b0a03ebb27b384f86cd85bf6c0ad0c572c62bad2ceb6d3f1acab9d846b5831491d2b0a1e9b804ebdb19c3e23dcd8f54d12ac295937227ad8a7042aee0e34e6 SHA512 7c05c3070e108bf58427daf26e7e2c709babc8c1393f48bef4a590bf323cbbdac7637e1543797796a12f40bba5ca7587d131003ef6dc05d4252998be704782c5
+EBUILD binutils-apple-4.3-r2.ebuild 10304 BLAKE2B 851d53617c780d5c472c693fbc8651cf7d976d071a1a47cce0ce867898d9cd38be3e221426717eb12da1f77fa41926c5fab7a09112f3b350c54313255879a510 SHA512 4efbb4a108d1e8bd67360cff47bc0a5aa36af7fb84ff42bafd0ffbb1e97337939454b05e46345ca25ca2d0243fad825e07a0a6d8356bdc7a193f101cc1b52335
+EBUILD binutils-apple-5.1-r1.ebuild 12200 BLAKE2B 18430125ede7c5b78ff0d371f2738159904c60a94ebe2b0ea60cff711af0c256526eb947b950fd8ec63753e8d417d6a8011b23995cd7d277603cdf688dc41786 SHA512 22277d1c8b67ac500cea2afed290cb61f9ce5d42a1b16eeaad33c5bd6014ea75d85870bf179968db619998ccb73b2374f4ce9fb6c721edf3f035c6239ee2667a
+EBUILD binutils-apple-6.1-r1.ebuild 12274 BLAKE2B b87b0d76d2f8e63b594abaa70a0814e27dac81be77adb39d33d50b98820111fd87aeddf74e271889e608c733ab0b1dd192883d84bf613ca141717c2877591d35 SHA512 137ecc2c62f9c75a7efa5679b77e0c1b53f7754fd7b62b4e889f40079212fb3e3ad716fc6b1afd399920592fc05784f446612ad3f5bed6396d37ac2ecf67a3b4
+EBUILD binutils-apple-6.3-r1.ebuild 11979 BLAKE2B 5f7ff009dab528ec410bc994edb6497237492270558194739a199ae260a6b04f3bd8579874b56efe8dc0580f3c65c2abd10a9baacc55acea4dc86fd8d54e6349 SHA512 494027affde8f647f254c10e37a9adcfcedaa22c7a6cc313668d154715ae2650d6cbafc0310fdbaf480051f8cca4cf0a37855c77321ebafcf9fa55ad547c1ba5
+EBUILD binutils-apple-7.0-r1.ebuild 11968 BLAKE2B 3d870676eeb7c76a4f9bc74dbc005b64301e3ba7dba9693311568786544583830f9486f47f8a031787f306a78b4a5e16ff96f6684214dc8e92d77b948940bfb1 SHA512 c93795ae16998995c14efa20b3402fd5eee01b9f5b27f34f392601f0a4031a4ccb9107564dbeca82d6cf76a999c55656bbefbcf7c50e21a161c7cda42370af76
+EBUILD binutils-apple-7.0.ebuild 12073 BLAKE2B fd546a63fdb10b1720b8cb3093a7572b1c060eae9660e78545392b5512925e6239a51802997b797dee386bd859be03cfac018d41792877ddb40dc5b295dc9e50 SHA512 7b09c2625a3e0e457dbcad752a4b1b034ff78bd02e54042f44c258122a325cb7739e8b763caf741104f393c94031e824405c4e107b2756a2b27ebf0ba2f1cf0a
+EBUILD binutils-apple-7.1-r1.ebuild 11968 BLAKE2B b39b4e9871159fbee6e73509e0bc0ae3c2685eaa7b75631db0990bdea46273e896e26e6734b650af79c5f0b69b44f32f3d9a317950cb18ebb32d6bf308aba20a SHA512 f1c7f2794763af25469c3ac02dcd76d680300301c681c16b7b90ea7abd5bf946a093d5dcdffe032c0c548e8ad8c26123cddf0ce258f6875378dc85b6995a07de
+EBUILD binutils-apple-7.1.ebuild 12073 BLAKE2B 1cd6c1f24612c77a21faab5f4e59cf3dbfbaacfb05b0c3d3ff5f4c803b6a0b419e2b6f448e49e57d57d8609a24b78abebb9eeb8e3aaaba54cf75527db519a66e SHA512 5772e02328faa86817f8cc20e38ac7911ef47196067de61250e1ed2694b23bc5b59295cc07ad1dfb460505970c911398fae47eb03053ad4811a663dadbb52324
+EBUILD binutils-apple-7.2-r1.ebuild 12040 BLAKE2B c1c89cf88106ba6e8bb4ea664d5a80cabb6a1db68a6489dd90dbb29017b492e28e1a2ee7da1c5326e6f3805f819648a4ec2cab99dc328447daf96c8bd7ba8862 SHA512 ba57c7d40229c1b16336c05b46e3bb02166518b330eb20b3fbb96947d4f60edb304559d0470ea4ac39d5c615d9d65fbf94fc0fa0afd868be06db23e3d1cba1f8
+EBUILD binutils-apple-7.2.ebuild 12073 BLAKE2B eccd301e8e65a90adbda77493ca4a2a161166d6e1671078ac7ddd88964b4ffa48600fbde65b408a6608c7f19c202bb96ab6b0023614b3ea867202945b386c980 SHA512 b63edde3520cd389389fa36ae62380ab1f8b7bf147992bec953c3659fbcd0e1cd7d938fbe63e1de04f62a33a52696ef0e484f8ab989040d651da250351c1ba17
+EBUILD binutils-apple-7.3.1.ebuild 13252 BLAKE2B bdd8b989fb18c54c136b8074557861abb8f00b5c4582d84f83a836a99aefd0c5a8649a800e3d9619de920b7aa0076c3ab7079fc86508a6e9ccb91e64b4389f88 SHA512 ea5092df995588863c7211ddeb9c7c5f1b97656320f4c44b3c6a7e40d0d6f420e05576a8b60720dfc1a41aa94292b07f4cd8d98678410b7533ac73ea5c618ace
+EBUILD binutils-apple-7.3.ebuild 12904 BLAKE2B 818a0f6b8bb2ce5a52afef1b83e9e51f6335b9b051cf47f542cce5b62ca55309a35408a13f1b76cdbef3259f68db42853d32679affed77f4ea1654aab2b8f39f SHA512 f20c7186a56b178e1542d672bc8a544fef62e6a88ede224579d94c09963f8d99e8ee618881af5eb68d51d40372cd28596c9fc0ee7fb5b04e073adfae2da26e98
+EBUILD binutils-apple-8.1.ebuild 10437 BLAKE2B 3adba8f475a847b95cddf32bbf939f9848aaf71040063f5147e4e78b23bc8602eaa0669cfb13a383f563e038802c42cca657a98f0029a33f138e1007e81e31fb SHA512 77ef913cb5a0d2e98017208256e700996a0b92bb3760ff4ee330ad5844fb31ed7b46bda5b56e9d5ce5fbda56249d51c44ebe74f63cabb22f19781aaa25bbc143
+EBUILD binutils-apple-8.2.1-r1.ebuild 11464 BLAKE2B ec5cc8825e534443f8acb3ea6b8f3326dde156afd88c09a111b90a0168f562c88396eb0cd653b6499136971301d53be2b3fd24e76ba59bf8f7eaf42688a44d8c SHA512 4aa424554279b8f8800df1c952f1854970eb831f4ec9aaf98b262f068106b87c661f764be76cd720f337f89c6bb309db17eb3ea4f3628b239ca514552e71d9c4
+EBUILD binutils-apple-8.2.1.ebuild 10437 BLAKE2B 3b8a7458d7f9e7ac022f451c76d64d877b788cbe725c229ae14b39e51459caee2649ec9bf2553be0813e1a97ceef777302a5b9503e735ebae6af66442fb41f6a SHA512 5dfc4c9bae9343a13bce6508a06ddca2dd3abb0248e9aeaee4453acefabdd12c899bfa07cf4b99ea7f23ae29b05d077d35129425b583d3eeeb21084a62687827
MISC metadata.xml 684 BLAKE2B 5cd10b7a5817bb4fe8b94ffbfa422e43c0f50c2d7d6db881ab82b4741f24548560fb07c6f4b1bf8164ee80ec7052147f7f5158640e4c9fa94b950871148491f2 SHA512 e588cb802b2b22ee656b9dcf45d9d372a3b306fa3574a7d859e2df9032eeeab63219a9d9b69249a5a67733dff4c484da17621f00d2b0775935f2cfa5a6f91977
diff --git a/sys-devel/binutils-apple/binutils-apple-3.2.ebuild b/sys-devel/binutils-apple/binutils-apple-3.2.ebuild
new file mode 100644
index 000000000000..9469e8bf164b
--- /dev/null
+++ b/sys-devel/binutils-apple/binutils-apple-3.2.ebuild
@@ -0,0 +1,235 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+RESTRICT="test" # the test suite will test what's installed.
+
+# LD64=ld64-95.2.12 # can't compile this one, missing libunwind/* includes
+# http://lists.apple.com/archives/Darwin-dev/2009/Sep/msg00025.html
+LD64=ld64-85.2.1 # from 3.1.2
+CCTOOLS=cctools-750
+LP64PATCHES=binutils-apple-LP64-patches-1
+
+DESCRIPTION="Darwin assembler as(1) and static linker ld(1), Xcode Tools 3.2"
+HOMEPAGE="http://www.opensource.apple.com/darwinsource/"
+SRC_URI="https://opensource.apple.com/tarballs/ld64/${LD64}.tar.gz
+ https://opensource.apple.com/tarballs/cctools/${CCTOOLS}.tar.gz
+ https://dev.gentoo.org/~grobian/distfiles/${LP64PATCHES}.tar.bz2
+ https://dev.gentoo.org/~grobian/distfiles/${PN}-patches-3.2-r0.tar.bz2"
+
+LICENSE="APSL-2"
+KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
+IUSE="test"
+
+RDEPEND="sys-devel/binutils-config"
+DEPEND="${RDEPEND}
+ test? ( >=dev-lang/perl-5.8.8 )"
+
+SLOT="3"
+
+S=${WORKDIR}
+
+is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
+
+prepare_ld64() {
+ cd "${S}"/${LD64}/src
+ cp "${WORKDIR}"/Makefile . || die
+
+ local VER_STR="\"@(#)PROGRAM:ld PROJECT:${LD64} (Gentoo ${PN}-${PVR})\\n\""
+ sed -i \
+ -e '/^#define LTO_SUPPORT 1/s:1:0:' \
+ ObjectDump.cpp || die
+ echo '#undef LTO_SUPPORT' > configure.h
+ echo '' > linker_opts
+ echo "char ldVersionString[] = ${VER_STR};" > version.cpp
+
+ # clean up test suite
+ cd "${S}"/${LD64}/unit-tests/test-cases
+ local c
+
+ # we don't have llvm
+ ((++c)); rm -rf llvm-integration;
+
+ # we don't have dtrace
+ ((++c)); rm -rf dtrace-static-probes-coalescing;
+ ((++c)); rm -rf dtrace-static-probes;
+
+ # a file is missing
+ ((++c)); rm -rf eh-coalescing-r
+
+ # we don't do universal binaries
+ ((++c)); rm -rf blank-stubs;
+
+ # looks like a problem with apple's result-filter.pl
+ ((++c)); rm -rf implicit-common3;
+ ((++c)); rm -rf order_file-ans;
+
+ # TODO no idea what goes wrong here
+ ((++c)); rm -rf dwarf-debug-notes;
+
+ elog "Deleted $c tests that were bound to fail"
+}
+
+src_prepare() {
+ prepare_ld64
+
+ cd "${S}"/${CCTOOLS}
+ epatch "${WORKDIR}"/${PN}-3.1.1-as.patch
+ epatch "${WORKDIR}"/${PN}-3.1.1-as-dir.patch
+ epatch "${WORKDIR}"/${PN}-3.1.1-ranlib.patch
+ epatch "${WORKDIR}"/${PN}-3.1.1-libtool-ranlib.patch
+ epatch "${WORKDIR}"/${PN}-3.1.1-nmedit.patch
+ epatch "${WORKDIR}"/${PN}-3.1.1-no-headers.patch
+ epatch "${WORKDIR}"/${PN}-3.1.1-no-oss-dir.patch
+ epatch "${WORKDIR}"/${P}-armv7-defines.patch
+
+ cd "${S}"/${LD64}
+ epatch "${WORKDIR}"/${PN}-3.1.1-testsuite.patch
+ epatch "${WORKDIR}"/LP64/ld64/*.patch
+
+ cd "${S}"
+ ebegin "cleaning Makefiles from unwanted CFLAGS"
+ find . -name "Makefile" -print0 | xargs -0 sed \
+ -i \
+ -e 's/ -g / /g' \
+ -e 's/^OFLAG =.*$/OFLAG =/' \
+ -e 's/install -c -s/install/g'
+ eend $?
+
+ # -pg is used and the two are incompatible
+ filter-flags -fomit-frame-pointer
+
+ eapply_user
+}
+
+src_configure() {
+ export CTARGET=${CTARGET:-${CHOST}}
+ if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY} == cross-* ]] ; then
+ export CTARGET=${CATEGORY#cross-}
+ fi
+ fi
+
+ LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
+ INCPATH=${LIBPATH}/include
+ DATAPATH=/usr/share/binutils-data/${CTARGET}/${PV}
+ if is_cross ; then
+ BINPATH=/usr/${CHOST}/${CTARGET}/binutils-bin/${PV}
+ else
+ BINPATH=/usr/${CTARGET}/binutils-bin/${PV}
+ fi
+}
+
+compile_ld64() {
+ cd "${S}"/${LD64}/src
+ # 'struct linkedit_data_command' is defined in mach-o/loader.h on leopard,
+ # but not on tiger.
+ [[ ${CHOST} == *-apple-darwin8 ]] && \
+ append-flags -isystem "${S}"/${CCTOOLS}/include/
+ emake || die "emake failed for ld64"
+ use test && emake build_test
+}
+
+compile_cctools() {
+ cd "${S}"/${CCTOOLS}
+ emake \
+ LTO= \
+ TRIE= \
+ EFITOOLS= \
+ COMMON_SUBDIRS='libstuff ar misc otool' \
+ SUBDIRS_32= \
+ RC_CFLAGS="${CFLAGS}" OFLAG="${CFLAGS}" \
+ || die "emake failed for the cctools"
+ cd "${S}"/${CCTOOLS}/as
+ emake \
+ BUILD_OBSOLETE_ARCH= \
+ RC_CFLAGS="-DASLIBEXECDIR=\"\\\"${EPREFIX}${LIBPATH}/\\\"\" ${CFLAGS}" \
+ || die "emake failed for as"
+}
+
+src_compile() {
+ tc-export CC CXX
+ compile_cctools
+ compile_ld64
+}
+
+install_ld64() {
+ exeinto ${BINPATH}
+ doexe "${S}"/${LD64}/src/{ld64,rebase}
+ dosym ld64 ${BINPATH}/ld
+ insinto ${DATAPATH}/man/man1
+ doins "${S}"/${LD64}/doc/man/man1/{ld,ld64,rebase}.1
+}
+
+install_cctools() {
+ cd "${S}"/${CCTOOLS}
+ emake install_all_but_headers \
+ EFITOOLS= \
+ COMMON_SUBDIRS='ar misc otool' \
+ SUBDIRS_32= \
+ RC_CFLAGS="${CFLAGS}" OFLAG="${CFLAGS}" \
+ DSTROOT=\"${D}\" \
+ BINDIR=\"${EPREFIX}\"${BINPATH} \
+ LOCBINDIR=\"${EPREFIX}\"${BINPATH} \
+ USRBINDIR=\"${EPREFIX}\"${BINPATH} \
+ LOCLIBDIR=\"${EPREFIX}\"${LIBPATH} \
+ MANDIR=\"${EPREFIX}\"${DATAPATH}/man/
+ cd "${S}"/${CCTOOLS}/as
+ emake install \
+ BUILD_OBSOLETE_ARCH= \
+ DSTROOT=\"${D}\" \
+ USRBINDIR=\"${EPREFIX}\"${BINPATH} \
+ LIBDIR=\"${EPREFIX}\"${LIBPATH} \
+ LOCLIBDIR=\"${EPREFIX}\"${LIBPATH}
+
+ cd "${ED}"${BINPATH}
+ insinto ${DATAPATH}/man/man1
+ local skips manpage
+ # ar brings an up-to-date manpage with it
+ skips=( ar )
+ for bin in *; do
+ for skip in ${skips[@]}; do
+ if [[ ${bin} == ${skip} ]]; then
+ continue 2;
+ fi
+ done
+ manpage=${S}/${CCTOOLS}/man/${bin}.1
+ if [[ -f "${manpage}" ]]; then
+ doins "${manpage}"
+ fi
+ done
+ insinto ${DATAPATH}/man/man5
+ doins "${S}"/${CCTOOLS}/man/*.5
+}
+
+src_test() {
+ einfo "Running unit tests"
+ cd "${S}"/${LD64}/unit-tests/test-cases
+ # need host arch, since GNU arch doesn't do what Apple's does
+ tc-export CC CXX
+ perl ../bin/make-recursive.pl \
+ ARCH="$(/usr/bin/arch)" \
+ RELEASEDIR="${S}"/${LD64}/src \
+ | perl ../bin/result-filter.pl
+}
+
+src_install() {
+ install_ld64
+ install_cctools
+
+ cd "${S}"
+ insinto /etc/env.d/binutils
+ cat <<-EOF > env.d
+ TARGET="${CHOST}"
+ VER="${PV}"
+ FAKE_TARGETS="${CHOST}"
+ EOF
+ newins env.d ${CHOST}-${PV}
+}
+
+pkg_postinst() {
+ binutils-config ${CHOST}-${PV}
+}
diff --git a/sys-devel/binutils-apple/binutils-apple-4.3-r2.ebuild b/sys-devel/binutils-apple/binutils-apple-4.3-r2.ebuild
index 5131c4f35b99..021608d46827 100644
--- a/sys-devel/binutils-apple/binutils-apple-4.3-r2.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-4.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -26,10 +26,10 @@ KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
IUSE="lto test multitarget"
RDEPEND="sys-devel/binutils-config
- lto? ( sys-devel/llvm )"
+ lto? ( sys-devel/llvm:* )"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )
- || ( >=sys-devel/gcc-apple-4.2.1 sys-devel/llvm )"
+ || ( >=sys-devel/gcc-apple-4.2.1 sys-devel/llvm:* )"
SLOT="4"
diff --git a/sys-devel/binutils-apple/binutils-apple-5.1-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-5.1-r1.ebuild
index 507c8b54be16..4920826c0166 100644
--- a/sys-devel/binutils-apple/binutils-apple-5.1-r1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-5.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -25,12 +25,12 @@ KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
IUSE="lto test libcxx multitarget"
RDEPEND="sys-devel/binutils-config
- lto? ( sys-devel/llvm )
+ lto? ( sys-devel/llvm:* )
libcxx? ( sys-libs/libcxx )"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )
- || ( >=sys-devel/gcc-apple-4.2.1 sys-devel/llvm )
- libcxx? ( sys-devel/llvm )"
+ || ( >=sys-devel/gcc-apple-4.2.1 sys-devel/llvm:* )
+ libcxx? ( sys-devel/llvm:* )"
SLOT="5"
diff --git a/sys-devel/binutils-apple/binutils-apple-6.1-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-6.1-r1.ebuild
index 984b31319824..bd3202442311 100644
--- a/sys-devel/binutils-apple/binutils-apple-6.1-r1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-6.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -26,12 +26,12 @@ KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
IUSE="lto test libcxx multitarget"
RDEPEND="sys-devel/binutils-config
- lto? ( sys-devel/llvm )
+ lto? ( sys-devel/llvm:* )
libcxx? ( sys-libs/libcxx )"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )
- || ( >=sys-devel/gcc-apple-4.2.1 sys-devel/llvm )
- libcxx? ( sys-devel/llvm )"
+ || ( >=sys-devel/gcc-apple-4.2.1 sys-devel/llvm:* )
+ libcxx? ( sys-devel/llvm:* )"
SLOT="6"
diff --git a/sys-devel/binutils-apple/binutils-apple-6.3-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-6.3-r1.ebuild
index 371c6a2b6c6b..5835b8852a09 100644
--- a/sys-devel/binutils-apple/binutils-apple-6.3-r1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-6.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -27,12 +27,12 @@ KEYWORDS="~ppc-macos ~x64-macos ~x86-macos"
IUSE="lto test libcxx multitarget"
RDEPEND="sys-devel/binutils-config
- lto? ( sys-devel/llvm )
+ lto? ( sys-devel/llvm:* )
libcxx? ( sys-libs/libcxx )"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )
- || ( >=sys-devel/gcc-apple-4.2.1 sys-devel/llvm )
- libcxx? ( sys-devel/llvm )"
+ || ( >=sys-devel/gcc-apple-4.2.1 sys-devel/llvm:* )
+ libcxx? ( sys-devel/llvm:* )"
SLOT="6"
diff --git a/sys-devel/binutils-apple/binutils-apple-7.0-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-7.0-r1.ebuild
index 2eab5e95aabf..039399257b2a 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.0-r1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -33,7 +33,7 @@ IUSE="lto test multitarget"
# -Wa,-Q but since it's default we make llvm a static runtime dependency.
RDEPEND="sys-devel/binutils-config
lto? ( app-arch/xar )
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
diff --git a/sys-devel/binutils-apple/binutils-apple-7.0.ebuild b/sys-devel/binutils-apple/binutils-apple-7.0.ebuild
index c81eb3fe54e0..805b4d51e50a 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.0.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -38,7 +38,7 @@ IUSE="test multitarget"
# indirectly makes xar a static runtime dependency.
RDEPEND="sys-devel/binutils-config
app-arch/xar
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
diff --git a/sys-devel/binutils-apple/binutils-apple-7.1-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-7.1-r1.ebuild
index 6b57a7444fd8..6ee67d9bd04f 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.1-r1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -33,7 +33,7 @@ IUSE="lto test multitarget"
# -Wa,-Q but since it's default we make llvm a static runtime dependency.
RDEPEND="sys-devel/binutils-config
lto? ( app-arch/xar )
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
diff --git a/sys-devel/binutils-apple/binutils-apple-7.1.ebuild b/sys-devel/binutils-apple/binutils-apple-7.1.ebuild
index 9dfebf05d008..ed6be55fb9a3 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -38,7 +38,7 @@ IUSE="test multitarget"
# indirectly makes xar a static runtime dependency.
RDEPEND="sys-devel/binutils-config
app-arch/xar
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
diff --git a/sys-devel/binutils-apple/binutils-apple-7.2-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-7.2-r1.ebuild
index e5de0f0f7867..8cae70ffc663 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.2-r1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -34,7 +34,7 @@ IUSE="lto test multitarget"
# -Wa,-Q but since it's default we make llvm a static runtime dependency.
RDEPEND="sys-devel/binutils-config
lto? ( app-arch/xar )
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
diff --git a/sys-devel/binutils-apple/binutils-apple-7.2.ebuild b/sys-devel/binutils-apple/binutils-apple-7.2.ebuild
index 0f608625bcae..4f76f80df25a 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.2.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -38,7 +38,7 @@ IUSE="test multitarget"
# indirectly makes xar a static runtime dependency.
RDEPEND="sys-devel/binutils-config
app-arch/xar
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
diff --git a/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild b/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
index e56d422a78c8..1fc16db7730a 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -35,7 +35,7 @@ IUSE="lto test multitarget"
# -Wa,-Q but since it's default we make llvm a static runtime dependency.
RDEPEND="sys-devel/binutils-config
lto? ( app-arch/xar )
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
diff --git a/sys-devel/binutils-apple/binutils-apple-7.3.ebuild b/sys-devel/binutils-apple/binutils-apple-7.3.ebuild
index 26f629c41ee5..853dba37052f 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.3.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -35,7 +35,7 @@ IUSE="lto test multitarget"
# -Wa,-Q but since it's default we make llvm a static runtime dependency.
RDEPEND="sys-devel/binutils-config
lto? ( app-arch/xar )
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
diff --git a/sys-devel/binutils-apple/binutils-apple-8.1.ebuild b/sys-devel/binutils-apple/binutils-apple-8.1.ebuild
index d5ad6ab38a98..32405f72fca1 100644
--- a/sys-devel/binutils-apple/binutils-apple-8.1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-8.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -32,7 +32,7 @@ IUSE="lto tapi classic test"
RDEPEND="sys-devel/binutils-config
lto? ( app-arch/xar )
tapi? ( sys-libs/tapi )
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
diff --git a/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild b/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild
index bf8351a7b24b..781aff39edf2 100644
--- a/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-8.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -31,7 +31,7 @@ IUSE="lto tapi classic test"
RDEPEND="sys-devel/binutils-config
lto? ( app-arch/xar )
tapi? ( sys-libs/tapi )
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
@@ -200,7 +200,7 @@ compile_ld64() {
LTO_INCDIR=${LLVM_INCDIR} \
LTO_LIBDIR=${LLVM_LIBDIR} \
TAPI=$(use tapi && echo 1 || echo 0) \
- TAPI_LIBDIR=${EPREFIX}/usr/lib \
+ TAPI_LIBDIR="${EPREFIX}"/usr/lib \
|| die "emake failed for ld64"
use test && emake build_test
}
diff --git a/sys-devel/binutils-apple/binutils-apple-8.2.1.ebuild b/sys-devel/binutils-apple/binutils-apple-8.2.1.ebuild
index 9cf67823890a..11fae8119966 100644
--- a/sys-devel/binutils-apple/binutils-apple-8.2.1.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-8.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -32,7 +32,7 @@ IUSE="lto tapi classic test"
RDEPEND="sys-devel/binutils-config
lto? ( app-arch/xar )
tapi? ( sys-libs/tapi )
- sys-devel/llvm
+ sys-devel/llvm:*
sys-libs/libcxx"
DEPEND="${RDEPEND}
test? ( >=dev-lang/perl-5.8.8 )"
diff --git a/sys-devel/clang-runtime/Manifest b/sys-devel/clang-runtime/Manifest
index 8e615513539a..7f82e5b59ccf 100644
--- a/sys-devel/clang-runtime/Manifest
+++ b/sys-devel/clang-runtime/Manifest
@@ -3,5 +3,6 @@ EBUILD clang-runtime-3.9.1.ebuild 569 BLAKE2B 58fa2d4ee5d80c7540e8030015fe085ad6
EBUILD clang-runtime-4.0.1.ebuild 639 BLAKE2B 62665ccfdb77a3635995b6ec9a59589e3d5e5b39c3940b378acc314fc9fcb4af23f7d44fba89f61eceb4055622b9d7c35ae26724b3cc207c06ac60bd2eda5a75 SHA512 b42d5fbf0082e194f4fc4ddf987a2d1dd0f06fc673b590ec278b45cacb8854c207b26cd159fe4cccdd1a123884037fff7c9e5908d0f329b93ff4ef0238e550da
EBUILD clang-runtime-5.0.0.ebuild 641 BLAKE2B 24567f5faca4a1f0304c418661e4abaab161a86ebbd3467f6159e33b44976ef4bb17d9fffb50bb717662fcf572ea9bcc243cd82ed638532e670f438ea1ddc5d8 SHA512 4d0c4791a6ef8925dd1d7a834f8a3d020fcb50f63bd78195707aac174d29a619808ae80ab2bd2f18a38057dd906d36664f79b00a038a04811d339304a65b817f
EBUILD clang-runtime-5.0.1.ebuild 674 BLAKE2B 096d69f50bccd7168f5a9553056a7c23996c393db6f81e6e3ab2557f1bddbd90492b2a92d6a13e7b776147faa7dcb62709922fdcd6d0313d22fa8a463cd6ce29 SHA512 dca4c31518ca056312562dd9971468af31b175e3c812f6f0faf4c983dcf22d12fe0bce765a1ae549ea4bdbd1144d2d0eedcd31ae9504c6f9cd3ce2153f36d8cf
-EBUILD clang-runtime-9999.ebuild 664 BLAKE2B 8d142b940d9204b7c64ddd8d97ebe981df6cc7a3080276ebdea5b7e7c0abfa376ef838fc21532eb696d92c990f2fe6195f4a2fa466ace0644414bb48de25ddd3 SHA512 e1e29618485e3153042f366c2ee178d1befb4fa2ecf52fe70e50d97e50bb3d7bb3fc51430f762106ddba77f050cf47d721fe9bbde14c5f8c0fc596e000c067d8
+EBUILD clang-runtime-6.0.9999.ebuild 664 BLAKE2B 59e6e790aac53ba65a92bc546fcca2440da744a59a10ec1b164c7b60c09449fccd0707cde8675196fb047c0a055c15bf345d30f4d3b9baffea151f0e2902d81f SHA512 95bf095071e580ce118136ff9304d73b3db3928d73c50769690ec0a28db4e039f354dfe010d75b44a5554f72fcc76a2ea5503143ba2628c6d278b51ff941a82d
+EBUILD clang-runtime-9999.ebuild 664 BLAKE2B 6dc480fc8db84af479892ec2f92442609642f415ee177091c626d55a77aa9b627cd0e94c78f583fc831bbda987ed6b6ed652240b5b1292c36a7ba2d16899970c SHA512 91da5250ab6ec5cda641371ccc4ae9b6ea2cb474965dcd3930fb38b6397cfc13a43d6c030790e97e73d59d8c0c63f4dbe0318d7a3a8f9e34f70a600657dd3d8a
MISC metadata.xml 578 BLAKE2B d58a4d1a7bf88a0d5640a02f3acb7e491f275b3bb66a8583aa057b8daae93bb1dbb80f6150bc326228c6ab8c8f8498b46bf72a3fb5e97d0eeea2fb39f87660e3 SHA512 822f56b33d991088ad5e51c3dd96e2e36f544b68c57e45ed8365835d1ef6d0eb797f9de1f8f33b59fbbaf085e245079ca767d5e8b773261cf9ad2c5629b7b16a
diff --git a/sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild b/sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild
new file mode 100644
index 000000000000..333b352d98bd
--- /dev/null
+++ b/sys-devel/clang-runtime/clang-runtime-6.0.9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-build
+
+DESCRIPTION="Meta-ebuild for clang runtime libraries"
+HOMEPAGE="https://clang.llvm.org/"
+SRC_URI=""
+
+LICENSE="metapackage"
+# Note: keep it matching clang-9999 version
+SLOT="6.0.0"
+KEYWORDS=""
+IUSE="+compiler-rt libcxx openmp +sanitize"
+
+RDEPEND="
+ compiler-rt? (
+ ~sys-libs/compiler-rt-${PV}:${SLOT}
+ sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT} )
+ )
+ libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
+ openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] )"
+
+REQUIRED_USE="sanitize? ( compiler-rt )"
diff --git a/sys-devel/clang-runtime/clang-runtime-9999.ebuild b/sys-devel/clang-runtime/clang-runtime-9999.ebuild
index b2d5450cc7aa..5586ba0ef77f 100644
--- a/sys-devel/clang-runtime/clang-runtime-9999.ebuild
+++ b/sys-devel/clang-runtime/clang-runtime-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -11,7 +11,7 @@ SRC_URI=""
LICENSE="metapackage"
# Note: keep it matching clang-9999 version
-SLOT="6.0.0"
+SLOT="7.0.0"
KEYWORDS=""
IUSE="+compiler-rt libcxx openmp +sanitize"
diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index 8f1c459b0e04..eee97241f7e1 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -24,5 +24,6 @@ EBUILD clang-3.9.1-r100.ebuild 1534 BLAKE2B b269b09553ec5559ad90ffdfcaa20604c10f
EBUILD clang-4.0.1.ebuild 9440 BLAKE2B 9ccc82a8f57e8c2e7a7ad1b55b0b6e8f88ad4da2b4d71bbdfaf5312e95d35abf08b31ee38114c7f31c435881ba06d5793bcff287c6dcd11e52e78e9ac90f1d9a SHA512 3b1ead95ef28a4f126e3111297c5c8682b34d74caf369db0d52ce92b334a5025f7894103b1bd4aa820e90368c3a8796139e663da8dc6e4c01683b6f4a84f9bd1
EBUILD clang-5.0.0.ebuild 9394 BLAKE2B 70854a48bede330b76467f83d3adf52d05ffb629982ecdb38cff9585d9df9d4378f907191dc672ab62be669e77c203702c7a97e67a9082e41d55a021b60c4029 SHA512 99f117c00837dbf364e3070b4c51bccbfa3646f07a51c89494a79162b36901de3119a332af757cd1c1e15f37b9f64fe19e9d274a8ecacf5fcc8816d0c9e1a88b
EBUILD clang-5.0.1.ebuild 9655 BLAKE2B 3aee99d71253a1c5f65c7fe56d6e7346d1cf944676e683bcc9dfe58a4a08db1e89180b6c421d2f95ca6dc01968734203b059d13d3c76350bfdcf4c1418d12c83 SHA512 8e313805e3ff32d6606b1cb75f9b2b8ae3c0cb0e720168c292cd9dbf694964eddda31b9e657ac0acd977852b2ba3734ccb0f406e559dfddd7ba26ecb2aef96b9
-EBUILD clang-9999.ebuild 8854 BLAKE2B 1f9a2120a08a299ff32282ac034b840b7c2bf12957d3418cd59304ac9d0b911dcad6fdfda1ea3f5c21f3b274793667c1cd6c0cdb797b9647f4e251cd1f1e0db2 SHA512 558f8fbe97e6b29b6db18e36799561fea600cbbb89a95423eba92d527a6028fe727408a51d24b4711e5a9154b9547703d0e341e058640a431b1806e9ebb2e9f4
+EBUILD clang-6.0.9999.ebuild 8890 BLAKE2B 9bc832936800d91112974342681191cb11950d335312baaa12da3319867d46d6cf3121e83e9c22039fbcd9720421301ccc940acf6e6af155d27715b2366e303b SHA512 76f550b3165b9e2ad0eeb525a2e361bcb36108ee685ca3b5a4826e688ef12b1ef85dd53ddc982ea1534f3defaa63a18657a50ad5b10997002be7443fd7e6ff50
+EBUILD clang-9999.ebuild 8854 BLAKE2B db11809f43cbe407952ac0251102e1964ec212cbff15993144473f82d1662db4edd83a67f9e411f4dfd9a1cb4ea4091844c50c479102d3e4b71d138eb7c33089 SHA512 a3877379b48d385e1a16bf5f5889f747eb99db0792981a651aca8469b14160d6b866358e1e191c4d2f7ad53e21fa877012f015b49271b9ab15905aaaab6d440d
MISC metadata.xml 1455 BLAKE2B 9dd88bba7158dfdc83bfc48fa4134e1f5a3357ab778cad400a51e348bbb4b44d2740ec417fdc888df0b4fd820441649e92b7adffdd4db558a2f4c3f4830a83a1 SHA512 369a87bd551e483e81ff56f5167177b1bcfedf9bc97f501ef2b07bfdfea3a25532f5e86af062568b3b22a53fe07318fd93dc55bd83b453dd10a0f4d3e88cb932
diff --git a/sys-devel/clang/clang-6.0.9999.ebuild b/sys-devel/clang/clang-6.0.9999.ebuild
new file mode 100644
index 000000000000..48c2d57fbee0
--- /dev/null
+++ b/sys-devel/clang/clang-6.0.9999.ebuild
@@ -0,0 +1,283 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils eapi7-ver flag-o-matic git-r3 llvm \
+ multilib-minimal pax-utils python-single-r1 toolchain-funcs
+
+DESCRIPTION="C language family frontend for LLVM"
+HOMEPAGE="https://llvm.org/"
+SRC_URI=""
+EGIT_REPO_URI="https://git.llvm.org/git/clang.git
+ https://github.com/llvm-mirror/clang.git"
+EGIT_BRANCH="release_60"
+
+# Keep in sync with sys-devel/llvm
+ALL_LLVM_EXPERIMENTAL_TARGETS=( AVR Nios2 RISCV WebAssembly )
+ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
+ NVPTX PowerPC Sparc SystemZ X86 XCore
+ "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
+ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
+LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
+
+LICENSE="UoI-NCSA"
+SLOT="$(ver_cut 1)"
+KEYWORDS=""
+IUSE="debug default-compiler-rt default-libcxx doc +static-analyzer
+ test xml z3 kernel_FreeBSD ${ALL_LLVM_TARGETS[*]}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ~sys-devel/llvm-${PV}:${SLOT}=[debug=,${LLVM_TARGET_USEDEPS// /,},${MULTILIB_USEDEP}]
+ static-analyzer? (
+ dev-lang/perl:*
+ z3? ( sci-mathematics/z3:0= )
+ )
+ xml? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
+ ${PYTHON_DEPS}"
+# configparser-3.2 breaks the build (3.3 or none at all are fine)
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )
+ xml? ( virtual/pkgconfig )
+ !!<dev-python/configparser-3.3.0.2
+ ${PYTHON_DEPS}"
+RDEPEND="${RDEPEND}
+ !<sys-devel/llvm-4.0.0_rc:0
+ !sys-devel/clang:0"
+PDEPEND="
+ ~sys-devel/clang-runtime-${PV}
+ default-compiler-rt? ( =sys-libs/compiler-rt-${PV%_*}* )
+ default-libcxx? ( sys-libs/libcxx )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ || ( ${ALL_LLVM_TARGETS[*]} )"
+
+# We need extra level of indirection for CLANG_RESOURCE_DIR
+S=${WORKDIR}/x/y/${P}
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+# Multilib notes:
+# 1. ABI_* flags control ABIs libclang* is built for only.
+# 2. clang is always capable of compiling code for all ABIs for enabled
+# target. However, you will need appropriate crt* files (installed
+# e.g. by sys-devel/gcc and sys-libs/glibc).
+# 3. ${CHOST}-clang wrappers are always installed for all ABIs included
+# in the current profile (i.e. alike supported by sys-devel/gcc).
+#
+# Therefore: use sys-devel/clang[${MULTILIB_USEDEP}] only if you need
+# multilib clang* libraries (not runtime, not wrappers).
+
+pkg_setup() {
+ LLVM_MAX_SLOT=${SLOT} llvm_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_unpack() {
+ # create extra parent dir for CLANG_RESOURCE_DIR
+ mkdir -p x/y || die
+ cd x/y || die
+
+ git-r3_fetch "https://git.llvm.org/git/clang-tools-extra.git
+ https://github.com/llvm-mirror/clang-tools-extra.git"
+ if use test; then
+ # needed for patched gtest
+ git-r3_fetch "https://git.llvm.org/git/llvm.git
+ https://github.com/llvm-mirror/llvm.git"
+ fi
+ git-r3_fetch
+
+ git-r3_checkout https://llvm.org/git/clang-tools-extra.git \
+ "${S}"/tools/extra
+ if use test; then
+ git-r3_checkout https://llvm.org/git/llvm.git \
+ "${WORKDIR}"/llvm '' utils/{lit,llvm-lit,unittest}
+ fi
+ git-r3_checkout "${EGIT_REPO_URI}" "${S}"
+}
+
+multilib_src_configure() {
+ local llvm_version=$(llvm-config --version) || die
+ local clang_version=$(ver_cut 1-3 "${llvm_version}")
+
+ local mycmakeargs=(
+ # ensure that the correct llvm-config is used
+ -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${SLOT}"
+ # relative to bindir
+ -DCLANG_RESOURCE_DIR="../../../../lib/clang/${clang_version}"
+
+ -DBUILD_SHARED_LIBS=ON
+ -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
+ -DLLVM_BUILD_TESTS=$(usex test)
+
+ # these are not propagated reliably, so redefine them
+ -DLLVM_ENABLE_EH=ON
+ -DLLVM_ENABLE_RTTI=ON
+
+ -DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex !xml)
+ # libgomp support fails to find headers without explicit -I
+ # furthermore, it provides only syntax checking
+ -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp
+
+ # override default stdlib and rtlib
+ -DCLANG_DEFAULT_CXX_STDLIB=$(usex default-libcxx libc++ "")
+ -DCLANG_DEFAULT_RTLIB=$(usex default-compiler-rt compiler-rt "")
+
+ -DCLANG_ENABLE_ARCMT=$(usex static-analyzer)
+ -DCLANG_ENABLE_STATIC_ANALYZER=$(usex static-analyzer)
+ # z3 is not multilib-friendly
+ -DCLANG_ANALYZER_BUILD_Z3=$(multilib_native_usex z3)
+ )
+ use test && mycmakeargs+=(
+ -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
+ -DLLVM_LIT_ARGS="-vv"
+ )
+
+ if multilib_is_native_abi; then
+ mycmakeargs+=(
+ # normally copied from LLVM_INCLUDE_DOCS but the latter
+ # is lacking value in stand-alone builds
+ -DCLANG_INCLUDE_DOCS=$(usex doc)
+ -DCLANG_TOOLS_EXTRA_INCLUDE_DOCS=$(usex doc)
+ )
+ use doc && mycmakeargs+=(
+ -DLLVM_BUILD_DOCS=ON
+ -DLLVM_ENABLE_SPHINX=ON
+ -DCLANG_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html"
+ -DCLANG-TOOLS_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/tools-extra"
+ -DSPHINX_WARNINGS_AS_ERRORS=OFF
+ )
+ use z3 && mycmakeargs+=(
+ -DZ3_INCLUDE_DIR="${EPREFIX}/usr/include/z3"
+ )
+ else
+ mycmakeargs+=(
+ -DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD=OFF
+ )
+ fi
+
+ if tc-is-cross-compiler; then
+ [[ -x "/usr/bin/clang-tblgen" ]] \
+ || die "/usr/bin/clang-tblgen not found or usable"
+ mycmakeargs+=(
+ -DCMAKE_CROSSCOMPILING=ON
+ -DCLANG_TABLEGEN=/usr/bin/clang-tblgen
+ )
+ fi
+
+ # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+ use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+ cmake-utils_src_configure
+}
+
+multilib_src_compile() {
+ cmake-utils_src_compile
+
+ # provide a symlink for tests
+ if [[ ! -L ${WORKDIR}/lib/clang ]]; then
+ mkdir -p "${WORKDIR}"/lib || die
+ ln -s "${BUILD_DIR}/$(get_libdir)/clang" "${WORKDIR}"/lib/clang || die
+ fi
+}
+
+multilib_src_test() {
+ # respect TMPDIR!
+ local -x LIT_PRESERVES_TMP=1
+ cmake-utils_src_make check-clang
+ multilib_is_native_abi && cmake-utils_src_make check-clang-tools
+}
+
+src_install() {
+ MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/clang/Config/config.h
+ )
+
+ multilib-minimal_src_install
+
+ # Move runtime headers to /usr/lib/clang, where they belong
+ mv "${ED%/}"/usr/include/clangrt "${ED%/}"/usr/lib/clang || die
+ # move (remaining) wrapped headers back
+ mv "${ED%/}"/usr/include "${ED%/}"/usr/lib/llvm/${SLOT}/include || die
+
+ # Apply CHOST and version suffix to clang tools
+ # note: we use two version components here (vs 3 in runtime path)
+ local llvm_version=$(llvm-config --version) || die
+ local clang_version=$(ver_cut 1-2 "${llvm_version}")
+ local clang_full_version=$(ver_cut 1-3 "${llvm_version}")
+ local clang_tools=( clang clang++ clang-cl clang-cpp )
+ local abi i
+
+ # cmake gives us:
+ # - clang-X.Y
+ # - clang -> clang-X.Y
+ # - clang++, clang-cl, clang-cpp -> clang
+ # we want to have:
+ # - clang-X.Y
+ # - clang++-X.Y, clang-cl-X.Y, clang-cpp-X.Y -> clang-X.Y
+ # - clang, clang++, clang-cl, clang-cpp -> clang*-X.Y
+ # also in CHOST variant
+ for i in "${clang_tools[@]:1}"; do
+ rm "${ED%/}/usr/lib/llvm/${SLOT}/bin/${i}" || die
+ dosym "clang-${clang_version}" "/usr/lib/llvm/${SLOT}/bin/${i}-${clang_version}"
+ dosym "${i}-${clang_version}" "/usr/lib/llvm/${SLOT}/bin/${i}"
+ done
+
+ # now create target symlinks for all supported ABIs
+ for abi in $(get_all_abis); do
+ local abi_chost=$(get_abi_CHOST "${abi}")
+ for i in "${clang_tools[@]}"; do
+ dosym "${i}-${clang_version}" \
+ "/usr/lib/llvm/${SLOT}/bin/${abi_chost}-${i}-${clang_version}"
+ dosym "${abi_chost}-${i}-${clang_version}" \
+ "/usr/lib/llvm/${SLOT}/bin/${abi_chost}-${i}"
+ done
+ done
+
+ # Remove unnecessary headers on FreeBSD, bug #417171
+ if use kernel_FreeBSD; then
+ rm "${ED}"usr/lib/clang/${clang_full_version}/include/{std,float,iso,limits,tgmath,varargs}*.h || die
+ fi
+}
+
+multilib_src_install() {
+ cmake-utils_src_install
+
+ # move headers to /usr/include for wrapping & ABI mismatch checks
+ # (also drop the version suffix from runtime headers)
+ rm -rf "${ED%/}"/usr/include || die
+ mv "${ED%/}"/usr/lib/llvm/${SLOT}/include "${ED%/}"/usr/include || die
+ mv "${ED%/}"/usr/lib/llvm/${SLOT}/$(get_libdir)/clang "${ED%/}"/usr/include/clangrt || die
+}
+
+multilib_src_install_all() {
+ python_fix_shebang "${ED}"
+ if use static-analyzer; then
+ python_optimize "${ED}"usr/lib/llvm/${SLOT}/share/scan-view
+ fi
+
+ docompress "/usr/lib/llvm/${SLOT}/share/man"
+ # match 'html' non-compression
+ use doc && docompress -x "/usr/share/doc/${PF}/tools-extra"
+ # +x for some reason; TODO: investigate
+ use static-analyzer && fperms a-x "/usr/lib/llvm/${SLOT}/share/man/man1/scan-build.1"
+}
+
+pkg_postinst() {
+ if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then
+ eselect compiler-shadow update all
+ fi
+}
+
+pkg_postrm() {
+ if [[ ${ROOT} == / && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then
+ eselect compiler-shadow clean all
+ fi
+}
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index 63df839c8c24..b3392999ee87 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -26,7 +26,7 @@ ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
LICENSE="UoI-NCSA"
-SLOT="6"
+SLOT="7"
KEYWORDS=""
IUSE="debug default-compiler-rt default-libcxx doc +static-analyzer
test xml z3 kernel_FreeBSD ${ALL_LLVM_TARGETS[*]}"
diff --git a/sys-devel/lld/Manifest b/sys-devel/lld/Manifest
index 6f6ab1f66957..e9581a68fe7b 100644
--- a/sys-devel/lld/Manifest
+++ b/sys-devel/lld/Manifest
@@ -9,5 +9,6 @@ DIST llvm-5.0.1.src.tar.xz 23428720 BLAKE2B 3db4d33df21018d17eef0042c0d8d82a8412
EBUILD lld-4.0.1.ebuild 1721 BLAKE2B f3e848199052fbec33376e9630afd80c031cd729457d1e3c302d78c42a128cc7d8baa626ed294bdde19dc2ec00683a01e4e9d5d0f6d893e24a575024b9e92556 SHA512 e971195cbf8976a0bd5140c62c3c4d9a375beaf3813119342f3f8f28db9843e53dc9804cb13b6f1a49a1b7dc60cd631cd69f742faf1de56001f59230625dbef1
EBUILD lld-5.0.0.ebuild 1349 BLAKE2B 410821548a8e388b72017eb34bb3b83fe82675d8d8082d04a49cdeb1213d00a0e1910b4a936b94971a3ffc807cde791948ca2e71ed24457c46361117ed6ea5a0 SHA512 243c72cb2e712392d9fad06b19090f276356d1f99739bec7cb65cb7eafaa98c5627ec6816872db69594c77203c2fc21bb004144161e31069604c85fc58fd8d7c
EBUILD lld-5.0.1.ebuild 1589 BLAKE2B ce6f2b7d0b095223600a236432966cbc44d89d781f6fe20b699aeb77b859bbcdf65bab0b1ad37df63918ce95f75c018a5eb9d56605e5d56d057e062399427271 SHA512 16b397e9d580a52fa430b07788a1c73aabfdc3dec87ed8ee12807e231c9590f637966f412a0657a574476b3b27b0a952718c61de955246cc1f585ab4526d49cc
+EBUILD lld-6.0.9999.ebuild 1572 BLAKE2B 5fdb41096f95d23e3f7287dd0b6adbdc51181d64f942871d2d6cb665e194f575bbec5b4e8dc58282645e12057dead82fcd5eac1edb93b63127a62e3767b30e65 SHA512 36f07056e215b21f221ade183c629643c93e56dd859635ef770c1742536831051220bfd11de663807e557b6cd03bd651e6b41abca3a1e2c17ad301a054763069
EBUILD lld-9999.ebuild 1547 BLAKE2B 412347828e4f73c4a0c8481dc6e4e6a89421d25874131b3f95db1863d91a92af19f498b73dc3ce028c0d0b79786568d39653b14e81d1dd8a1673540de0d56d0e SHA512 63f3a8fcf6a52ca31131db36c4b6efe45bd913d44e62a9ef773ceb02f39d721e0e81149b7dc7304bb2b93f42485f184b734bdebf5243027a1822d30cf33c7278
MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5
diff --git a/sys-devel/lld/lld-6.0.9999.ebuild b/sys-devel/lld/lld-6.0.9999.ebuild
new file mode 100644
index 000000000000..b0e74d45d1fd
--- /dev/null
+++ b/sys-devel/lld/lld-6.0.9999.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils git-r3 llvm python-any-r1
+
+DESCRIPTION="The LLVM linker (link editor)"
+HOMEPAGE="https://llvm.org/"
+SRC_URI=""
+EGIT_REPO_URI="https://git.llvm.org/git/lld.git
+ https://github.com/llvm-mirror/lld.git"
+EGIT_BRANCH="release_60"
+
+LICENSE="UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="~sys-devel/llvm-${PV}"
+DEPEND="${RDEPEND}
+ test? ( $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+python_check_deps() {
+ has_version "dev-python/lit[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ llvm_pkg_setup
+ use test && python-any-r1_pkg_setup
+}
+
+src_unpack() {
+ if use test; then
+ # needed for patched gtest
+ git-r3_fetch "https://git.llvm.org/git/llvm.git
+ https://github.com/llvm-mirror/llvm.git"
+ fi
+ git-r3_fetch
+
+ if use test; then
+ git-r3_checkout https://llvm.org/git/llvm.git \
+ "${WORKDIR}"/llvm '' utils/{lit,unittest}
+ fi
+ git-r3_checkout
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=ON
+
+ -DLLVM_INCLUDE_TESTS=$(usex test)
+ )
+ use test && mycmakeargs+=(
+ -DLLVM_BUILD_TESTS=ON
+ -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
+ -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
+ -DLLVM_LIT_ARGS="-vv"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_test() {
+ cmake-utils_src_make check-lld
+}
diff --git a/sys-devel/llvm-common/Manifest b/sys-devel/llvm-common/Manifest
index 349a024a1340..cfd9fab2ccfe 100644
--- a/sys-devel/llvm-common/Manifest
+++ b/sys-devel/llvm-common/Manifest
@@ -4,5 +4,6 @@ DIST llvm-5.0.1.src.tar.xz 23428720 BLAKE2B 3db4d33df21018d17eef0042c0d8d82a8412
EBUILD llvm-common-4.0.1.ebuild 642 BLAKE2B 52922fd0d0f331670cae15a48d691db72507f97c40e87182cfb583a902d694c17d5a654b50b2870701cc74ec0bea73b9397a5b5a6ae9ecb4f328921e3cc0a617 SHA512 8a361dbe22d8352b07bc531e32a18bf6aaa0dfc752f5ef63086653f346d87771600fbcefb23186f13c0682b6a07ed6ecec2fd52b4a3d05d78b6df9af2548ea19
EBUILD llvm-common-5.0.0.ebuild 644 BLAKE2B 5e9f29726a23575238cfccda31343001f3f1d0b5101d628379d9ab863b5447a128963f01c8f64052e7fc75b17e9ff625c8b76b48ad5afb8d026a4b1d654608b8 SHA512 036b41ba0bfe661a3970bd703a8d02afd6cebb80f7e44c0a4a8b4fde0327a72364c8175ee01c67f05a3f37d3969505706e64f929b3b8e170ce80efd1cd09a20e
EBUILD llvm-common-5.0.1.ebuild 810 BLAKE2B 2a5e5d319b6e1080f474e507d06027a8e1a5f9f2e24f15fce06832cbf23fd45789910b3f78dae0d9afd54cfae998c71ebdb60ef3fbcba4ad7f1e5eb362d5860c SHA512 ca650fd003c3139016df929eb65b718f054ab9e8538b2bb666c2125d00f0875ba116c259fa3a8a988fac0b372ce02c5e42b8864ca1a1f818428d6f8e44c981c9
+EBUILD llvm-common-6.0.9999.ebuild 729 BLAKE2B 8455b714f371250a13d032a0bc9cc64fe16a670da92e3f9b46dbc05d79084083cc02db2eea0a1c477877e9c3b2c3b0bb5706539fc83a6089fb79ffd5f6d600d3 SHA512 a697745f5f07f002d3a789583bb3df163713b372147ddc41ca4e6395f9b9de51407aab376cfa8d6ef7276bc9c221f0a9ce2a763f347b3a04656fca5ecc93d258
EBUILD llvm-common-9999.ebuild 704 BLAKE2B bfcd46a0c3754d0c5542eb1b03c8696ef355ebe34e94c98ab6a23442a88bc6b9a8aa8d2c89b18ed0ceea47bd2adcd7df67c8d201876a04ba7816257f83c53706 SHA512 4a7fd7260e93fa3b44a565c915a8be2e207085a506018b97263740851fd78dacf88e582b73d74a06aa36de2975b751c258ceb7997a5e6ee7db4d404fbed865bf
MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5
diff --git a/sys-devel/llvm-common/llvm-common-6.0.9999.ebuild b/sys-devel/llvm-common/llvm-common-6.0.9999.ebuild
new file mode 100644
index 000000000000..e1149b770438
--- /dev/null
+++ b/sys-devel/llvm-common/llvm-common-6.0.9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit git-r3
+
+DESCRIPTION="Common files shared between multiple slots of LLVM"
+HOMEPAGE="https://llvm.org/"
+SRC_URI=""
+EGIT_REPO_URI="https://git.llvm.org/git/llvm.git
+ https://github.com/llvm-mirror/llvm.git"
+EGIT_BRANCH="release_60"
+
+LICENSE="UoI-NCSA"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="!sys-devel/llvm:0"
+
+src_unpack() {
+ git-r3_fetch
+ git-r3_checkout '' '' '' utils/vim
+}
+
+src_configure() { :; }
+src_compile() { :; }
+src_test() { :; }
+
+src_install() {
+ insinto /usr/share/vim/vimfiles
+ doins -r utils/vim/*/
+ # some users may find it useful
+ newdoc utils/vim/README README.vim
+ dodoc utils/vim/vimrc
+}
diff --git a/sys-devel/llvm/Manifest b/sys-devel/llvm/Manifest
index 2063855365a8..54bd1f8a772c 100644
--- a/sys-devel/llvm/Manifest
+++ b/sys-devel/llvm/Manifest
@@ -45,5 +45,6 @@ EBUILD llvm-3.9.1-r1.ebuild 16507 BLAKE2B 83692ac24d5df082c1eab87ef85353a44a4853
EBUILD llvm-4.0.1-r1.ebuild 6761 BLAKE2B 62f83ec333027a67e3635dbde1cb324b08819fd22491591b39dd3cd57930790df2ef117b6cbce56ce2db04789773d0f3cd71d93e64bfc12d35bc7bd60f15d8d8 SHA512 d32f436e48854839f6ec146c4a1d0f44f15f3e73563c33eef370b62049142401bf6aabbf2cd96f6f550ef2e05c220cc5abbbb486b062d85b268c2885666d9fbe
EBUILD llvm-5.0.0.ebuild 6802 BLAKE2B cdaba58a9e17e67d239c931fc7f2e93464b341772fa806fc776b2010f17f1d40251616f11222c753a2c6b7689b18dba2c1189ef242b581e1989eee4b876e8146 SHA512 35d8e14da0f5a1baa60643e3c04663eb044201665ef2ff0faf53ab98f6c5634ff5f099e11d9d3d02a0f16a051540829ee275e1099b6652f7a25469480f617dee
EBUILD llvm-5.0.1.ebuild 7018 BLAKE2B 841c230bd922bdf16d6e17d51e8a1698b2bb75948f072829023fff0d3bdf8f98707336369d4c5a8a92d182ea0cda789b8ba710685ab08efcc9d8aaaa45198af7 SHA512 2e92ed0fa92e829a3476dcdefc5b5af4ce8c624caa7cc08255e368852ff250d9995d30754e5e797e3178f0e324545886fbc961421512cb82e26962228bef7944
-EBUILD llvm-9999.ebuild 6662 BLAKE2B 1fc2fd66640cb3fd433bc355f880f8718535b5c500726cf121f70aae87708dc4068ed0c3fbecb61ab86c813d3808411d657c492e22e492518a7b3cf04a2bc953 SHA512 3abb4a1a689994902cdf8eef9bdb60214f6a5482c7cefe8ee0eacdb8e0c5d0db3c3d1b63ac04862194ca7a7de3b22f9d8db30c6f40a55c72c3b61f5b8ee76a04
+EBUILD llvm-6.0.9999.ebuild 6698 BLAKE2B 6555e1189f771e480d56e8599bdfce11f423fbca42ea7be5aab9a3e61b1b8db813d0823e4bf11f94f126d0680cb65a3048ff00df758ee3867482feff8af250e6 SHA512 9a1a550a5ab33f8b979568186f2782a89119f744cb4c130b021149140f61d565708ea9df0a9a41181a1f3c5a70a9c349e354e1f4da3d3eec67daa8d9ed029279
+EBUILD llvm-9999.ebuild 6662 BLAKE2B 0249a682150edf8461aa78644bee22b5f2e6d2e869fd8e3c9656d902ca9c4b12d919d15d62d15982f644d707da261dba30036c9bd3b9bdc56f466a693669084e SHA512 99531e41783fb32fba266e93140ac0ec9f8905c2c0539ecc2a4930915df14a0c5ce9e44a0059242bf28634ef1319e0168969fce93c1907b54e12e4c3f8803038
MISC metadata.xml 2747 BLAKE2B 0684b3ae235b762c8c365ac0da29d285781cb7aae25250664704385c3326c07097a6061907b1bc2417b90db39745745bfbbab887d53a7fa1024e62bcded2d0be SHA512 cbb82ddab3a19f9103ed1f72bdae2b50dd3bd906b377ff6004dc7b85e9ec8852fd9d03f7f9e7015363454b86680ec5fdb756b08bc6a7c2743669ee4ff3b4aa08
diff --git a/sys-devel/llvm/llvm-6.0.9999.ebuild b/sys-devel/llvm/llvm-6.0.9999.ebuild
new file mode 100644
index 000000000000..0164813c3fc0
--- /dev/null
+++ b/sys-devel/llvm/llvm-6.0.9999.ebuild
@@ -0,0 +1,231 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+# (needed due to CMAKE_BUILD_TYPE != Gentoo)
+CMAKE_MIN_VERSION=3.7.0-r1
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils eapi7-ver flag-o-matic git-r3 multilib-minimal \
+ pax-utils python-any-r1 toolchain-funcs
+
+DESCRIPTION="Low Level Virtual Machine"
+HOMEPAGE="https://llvm.org/"
+SRC_URI=""
+EGIT_REPO_URI="https://git.llvm.org/git/llvm.git
+ https://github.com/llvm-mirror/llvm.git"
+EGIT_BRANCH="release_60"
+
+# Those are in lib/Targets, without explicit CMakeLists.txt mention
+ALL_LLVM_EXPERIMENTAL_TARGETS=( AVR Nios2 RISCV WebAssembly )
+# Keep in sync with CMakeLists.txt
+ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
+ NVPTX PowerPC Sparc SystemZ X86 XCore
+ "${ALL_LLVM_EXPERIMENTAL_TARGETS[@]}" )
+ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
+
+# Additional licenses:
+# 1. OpenBSD regex: Henry Spencer's license ('rc' in Gentoo) + BSD.
+# 2. ARM backend: LLVM Software Grant by ARM.
+# 3. MD5 code: public-domain.
+# 4. Tests (not installed):
+# a. gtest: BSD.
+# b. YAML tests: MIT.
+
+LICENSE="UoI-NCSA rc BSD public-domain
+ llvm_targets_ARM? ( LLVM-Grant )"
+SLOT="$(ver_cut 1)"
+KEYWORDS=""
+IUSE="debug doc gold libedit +libffi ncurses test
+ kernel_Darwin ${ALL_LLVM_TARGETS[*]}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ sys-libs/zlib:0=
+ gold? ( >=sys-devel/binutils-2.22:*[cxx] )
+ libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] )
+ libffi? ( >=virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] )
+ ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] )"
+# configparser-3.2 breaks the build (3.3 or none at all are fine)
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ || ( >=sys-devel/gcc-3.0 >=sys-devel/llvm-3.5
+ ( >=sys-freebsd/freebsd-lib-9.1-r10 sys-libs/libcxx )
+ )
+ || ( >=sys-devel/binutils-2.18 >=sys-devel/binutils-apple-5.1 )
+ kernel_Darwin? ( <sys-libs/libcxx-$(ver_cut 1-3).9999 )
+ doc? ( dev-python/sphinx )
+ gold? ( sys-libs/binutils-libs )
+ libffi? ( virtual/pkgconfig )
+ !!<dev-python/configparser-3.3.0.2
+ ${PYTHON_DEPS}"
+# There are no file collisions between these versions but having :0
+# installed means llvm-config there will take precedence.
+RDEPEND="${RDEPEND}
+ !sys-devel/llvm:0"
+PDEPEND="sys-devel/llvm-common
+ gold? ( sys-devel/llvmgold )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ || ( ${ALL_LLVM_TARGETS[*]} )"
+
+# least intrusive of all
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+src_prepare() {
+ # Fix llvm-config for shared linking and sane flags
+ # https://bugs.gentoo.org/show_bug.cgi?id=565358
+ eapply "${FILESDIR}"/9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
+
+ # disable use of SDK on OSX, bug #568758
+ sed -i -e 's/xcrun/false/' utils/lit/lit/util.py || die
+
+ # User patches + QA
+ cmake-utils_src_prepare
+}
+
+multilib_src_configure() {
+ local ffi_cflags ffi_ldflags
+ if use libffi; then
+ ffi_cflags=$($(tc-getPKG_CONFIG) --cflags-only-I libffi)
+ ffi_ldflags=$($(tc-getPKG_CONFIG) --libs-only-L libffi)
+ fi
+
+ local libdir=$(get_libdir)
+ local mycmakeargs=(
+ # disable appending VCS revision to the version to improve
+ # direct cache hit ratio
+ -DLLVM_APPEND_VC_REV=OFF
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${SLOT}"
+ -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
+
+ -DBUILD_SHARED_LIBS=ON
+ # cheap hack: LLVM combines both anyway, and the only difference
+ # is that the former list is explicitly verified at cmake time
+ -DLLVM_TARGETS_TO_BUILD=""
+ -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}"
+ -DLLVM_BUILD_TESTS=$(usex test)
+
+ -DLLVM_ENABLE_FFI=$(usex libffi)
+ -DLLVM_ENABLE_LIBEDIT=$(usex libedit)
+ -DLLVM_ENABLE_TERMINFO=$(usex ncurses)
+ -DLLVM_ENABLE_ASSERTIONS=$(usex debug)
+ -DLLVM_ENABLE_EH=ON
+ -DLLVM_ENABLE_RTTI=ON
+
+ -DWITH_POLLY=OFF # TODO
+
+ -DLLVM_HOST_TRIPLE="${CHOST}"
+
+ -DFFI_INCLUDE_DIR="${ffi_cflags#-I}"
+ -DFFI_LIBRARY_DIR="${ffi_ldflags#-L}"
+
+ # disable OCaml bindings (now in dev-ml/llvm-ocaml)
+ -DOCAMLFIND=NO
+ )
+
+# Note: go bindings have no CMake rules at the moment
+# but let's kill the check in case they are introduced
+# if ! multilib_is_native_abi || ! use go; then
+ mycmakeargs+=(
+ -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
+ )
+# fi
+
+ use test && mycmakeargs+=(
+ -DLLVM_LIT_ARGS="-vv"
+ )
+
+ if multilib_is_native_abi; then
+ mycmakeargs+=(
+ -DLLVM_BUILD_DOCS=$(usex doc)
+ -DLLVM_ENABLE_OCAMLDOC=OFF
+ -DLLVM_ENABLE_SPHINX=$(usex doc)
+ -DLLVM_ENABLE_DOXYGEN=OFF
+ -DLLVM_INSTALL_UTILS=ON
+ )
+ use doc && mycmakeargs+=(
+ -DLLVM_INSTALL_SPHINX_HTML_DIR="${EPREFIX}/usr/share/doc/${PF}/html"
+ -DSPHINX_WARNINGS_AS_ERRORS=OFF
+ )
+ use gold && mycmakeargs+=(
+ -DLLVM_BINUTILS_INCDIR="${EPREFIX}"/usr/include
+ )
+ fi
+
+ if tc-is-cross-compiler; then
+ local tblgen="${EPREFIX}/usr/lib/llvm/${SLOT}/bin/llvm-tblgen"
+ [[ -x "${tblgen}" ]] \
+ || die "${tblgen} not found or usable"
+ mycmakeargs+=(
+ -DCMAKE_CROSSCOMPILING=ON
+ -DLLVM_TABLEGEN="${tblgen}"
+ )
+ fi
+
+ # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
+ use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
+ cmake-utils_src_configure
+}
+
+multilib_src_compile() {
+ cmake-utils_src_compile
+
+ pax-mark m "${BUILD_DIR}"/bin/llvm-rtdyld
+ pax-mark m "${BUILD_DIR}"/bin/lli
+ pax-mark m "${BUILD_DIR}"/bin/lli-child-target
+
+ if use test; then
+ pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/Orc/OrcJITTests
+ pax-mark m "${BUILD_DIR}"/unittests/ExecutionEngine/MCJIT/MCJITTests
+ pax-mark m "${BUILD_DIR}"/unittests/Support/SupportTests
+ fi
+}
+
+multilib_src_test() {
+ # respect TMPDIR!
+ local -x LIT_PRESERVES_TMP=1
+ cmake-utils_src_make check
+}
+
+src_install() {
+ local MULTILIB_CHOST_TOOLS=(
+ /usr/lib/llvm/${SLOT}/bin/llvm-config
+ )
+
+ local MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/llvm/Config/llvm-config.h
+ )
+
+ local LLVM_LDPATHS=()
+ multilib-minimal_src_install
+
+ # move wrapped headers back
+ mv "${ED%/}"/usr/include "${ED%/}"/usr/lib/llvm/${SLOT}/include || die
+}
+
+multilib_src_install() {
+ cmake-utils_src_install
+
+ # move headers to /usr/include for wrapping
+ rm -rf "${ED%/}"/usr/include || die
+ mv "${ED%/}"/usr/lib/llvm/${SLOT}/include "${ED%/}"/usr/include || die
+
+ LLVM_LDPATHS+=( "${EPREFIX}/usr/lib/llvm/${SLOT}/$(get_libdir)" )
+}
+
+multilib_src_install_all() {
+ local revord=$(( 9999 - ${SLOT} ))
+ cat <<-_EOF_ > "${T}/10llvm-${revord}" || die
+ PATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin"
+ # we need to duplicate it in ROOTPATH for Portage to respect...
+ ROOTPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/bin"
+ MANPATH="${EPREFIX}/usr/lib/llvm/${SLOT}/share/man"
+ LDPATH="$( IFS=:; echo "${LLVM_LDPATHS[*]}" )"
+_EOF_
+ doenvd "${T}/10llvm-${revord}"
+
+ docompress "/usr/lib/llvm/${SLOT}/share/man"
+}
diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild
index 5b5d0364ea2c..291effce5fe3 100644
--- a/sys-devel/llvm/llvm-9999.ebuild
+++ b/sys-devel/llvm/llvm-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -35,7 +35,7 @@ ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
LICENSE="UoI-NCSA rc BSD public-domain
llvm_targets_ARM? ( LLVM-Grant )"
-SLOT="6"
+SLOT="7"
KEYWORDS=""
IUSE="debug doc gold libedit +libffi ncurses test
kernel_Darwin ${ALL_LLVM_TARGETS[*]}"
diff --git a/sys-devel/llvmgold/Manifest b/sys-devel/llvmgold/Manifest
index ce3a31e151e8..e4adfecd3a39 100644
--- a/sys-devel/llvmgold/Manifest
+++ b/sys-devel/llvmgold/Manifest
@@ -1,4 +1,5 @@
EBUILD llvmgold-4.ebuild 550 BLAKE2B d39e3238c9ddc553af3ebba74b43793987d8161000da48380336e0a8480a0ecfec4bf86eb3d694308fce6e97f97ac2229708023c2aba657e5d2be23c7ef63a7c SHA512 73f2c9d750b7f83767660258ff51ab3d4c420eaebff2d70f1b73306145e7c69330541d2268ed4d8b947b87d63123bf92ad61868d415aa80e34b5ed3adbcc0719
EBUILD llvmgold-5.ebuild 552 BLAKE2B f058b07a03942bcc2b407404f46188f9b4faf1244a6b44e697541d8ee48ef2d56b15411c98b0b95419d822c52958fb68c6b4ee8c891a0389804ac233bf007117 SHA512 b0c5e2b9cb9244a525fac2041c1cc9c198ec9dc56e9739141378490c4a1482260bd9819a376ff5193883cdaa5fe5ae41b2e618576a60a1ad0b8775e2032b8051
EBUILD llvmgold-6.ebuild 529 BLAKE2B ac186915b4ebb4ec11677d7c1a300a57b7b99fb2dcb77b3adfd8315b8b4fb8246d8b1e1ce473fa64d0d692b26a18698bdfcc47f436b604d7a45973c63c7ce6d2 SHA512 e9e870f695ca3eca2e764d5aaa62626a678bf18ea994b88e244978b0c8900c3ae981202508043adaf50c453a5d96733dd7125903a117c1562ce52eefefa8cafc
+EBUILD llvmgold-7.ebuild 529 BLAKE2B 9949030d84f9cbad9e1936893c75bed7207d32572606fc335a624f96c84ec4c79edf6ce557308868a3ead5e24ae64c92746d5bcc03a1c5ddbeae2b4500384b9e SHA512 d330f8a86bc4de2710de3bb4833e5d7e6c992e986723a66a1326121da39dfc409e0dc71af0d7e335e21ec849cc2fc5808866be7bdaee13f5ece246ca4d9e80b8
MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5
diff --git a/sys-devel/llvmgold/llvmgold-7.ebuild b/sys-devel/llvmgold/llvmgold-7.ebuild
new file mode 100644
index 000000000000..aa147f6824c1
--- /dev/null
+++ b/sys-devel/llvmgold/llvmgold-7.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="LLVMgold plugin symlink for autoloading"
+HOMEPAGE="https://llvm.org/"
+SRC_URI=""
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="sys-devel/llvm:${PV}[gold]
+ !sys-devel/llvm:0"
+
+S=${WORKDIR}
+
+src_install() {
+ dodir "/usr/${CHOST}/binutils-bin/lib/bfd-plugins"
+ dosym "../../../../lib/llvm/${PV}/$(get_libdir)/LLVMgold.so" \
+ "/usr/${CHOST}/binutils-bin/lib/bfd-plugins/LLVMgold.so"
+}