diff options
Diffstat (limited to 'dev-ada/gprbuild')
-rw-r--r-- | dev-ada/gprbuild/Manifest | 7 | ||||
-rw-r--r-- | dev-ada/gprbuild/files/gprbuild-2021-nm.patch | 11 | ||||
-rw-r--r-- | dev-ada/gprbuild/files/gprbuild-22.0.0-nm.patch | 11 | ||||
-rw-r--r-- | dev-ada/gprbuild/gprbuild-2021-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-ada/gprbuild/gprbuild-2021-r2.ebuild | 80 | ||||
-rw-r--r-- | dev-ada/gprbuild/gprbuild-22.0.0-r1.ebuild (renamed from dev-ada/gprbuild/gprbuild-22.0.0.ebuild) | 5 |
6 files changed, 112 insertions, 4 deletions
diff --git a/dev-ada/gprbuild/Manifest b/dev-ada/gprbuild/Manifest index f6b5ce1ea762..6149673f1261 100644 --- a/dev-ada/gprbuild/Manifest +++ b/dev-ada/gprbuild/Manifest @@ -1,10 +1,13 @@ AUX gprbuild-2021-gentoo.patch 11690 BLAKE2B 95762ee60f74dc15c0a513e03979803bfecd93bc0b9ae9c031ce741f16664157384163f506bd5c8735e25b81fc9aefd5e454a053f598c5f6a789fc81c47ea8cc SHA512 158fb122afe5df9d712706af0c87a1cb0c4d34cbeb93516d4b59c9ab40f714536fe878b067f2d1d2a7db12066bb54a21f332c2f035430927970cfca8f7a5d82e +AUX gprbuild-2021-nm.patch 421 BLAKE2B 44b6166e3102df7eafa8af168701d09e2680a91c28cd808414a1073eb84ebfe0c6dc98c53886020d8acb27369b45f5897c7a1f236ad6dfe32ad6feaf0beac76f SHA512 49cf35270e29e3292ac95b23d117aeb3ed1d3ee8c2a9a174a8ba2a2e7270fa56cad2a3edbc548731f2ec8c66d8327ec754fcdb2a6f2e17220d6c649f20741e3d AUX gprbuild-22.0.0-gentoo.patch 11712 BLAKE2B 77088bba7bc022db46e122ea20af0372c7cde4acb4fb4991313306f8e179910ccc428933f04c78cc57f78ae9b400dbfdddd59328c8e454a40fadde2fdea035a3 SHA512 af8eb69a437b18ce9924f922b4ed1b9a09caf83015936e546e673abd908dc30ee16a94c39b9e45507d9a11e126091e35a6eee78f9d513517e7782fd407b288ed +AUX gprbuild-22.0.0-nm.patch 393 BLAKE2B 2ad3e37a5f62e47c2049f88cc0d2378287ec7d33521de73d2680f2b01770b7856bed7dfec26c61a908f68b742caa57405768e7f5881f93efca9ede4ac6ce17a8 SHA512 9011cda1b306647e1d1f38a2a19b601065683ccbce253be0e9c7ecf6dd261b15a9936ec6d619bf71650d8fa5cf6103a1f35d9b0d1dbf0b4d2938cbb5d19a35e7 DIST gprbuild-2021-20210519-19A34-src.tar.gz 2572773 BLAKE2B 42244b96b48a10795812865a430a92a75f3e6a58f384a72e6941945707e712d239f2350e00bd94e6161fb19c6469197547f4ddb565e860ae1d08573b7c667997 SHA512 f2fd10cdf8bd2ae553184104a8d29ddf884329946c55e1a199d49358151e9f1ea25f6566d6e00d15e07d26ea4e84377f4ee137a9af4eecb862fc825dd987ada8 DIST gprbuild-22.0.0.tar.gz 945311 BLAKE2B 4573855667fe6c352a61ac2fd8218619e0c9fa5c5079fe6854988733b7dac27225177f550b58b8d596516e8d3bf9a279f44864fdcb00514ee9e5776415c78f2d SHA512 7e77d9441454670a7b3b14cff97339e654bb82e7321abd9d612a771e1559f3276057e5163b50ca08b6ab77ebb9fcfd36590ba3c9cfd28d07fce43c7673ad254a DIST gprconfig_kb-22.0.0.tar.gz 40598 BLAKE2B c0b18078ac3384de9bb503f78a1bb39a486b5ae899ad1ab135fa05da414eb6a55b5b7156bb4fc60a34c0d085b33af13ef2e0ec46840ad43ca63c387863ae6eac SHA512 69f8490af56b0e07afbfef51c12cd6361a00327af774cd0deacf8260ccc4782e1e8465a074e8a025024570ce43ba1b4b3adfbde9ae4ea372e487d342da6994d4 DIST xmlada-2021-20210518-19D50-src.tar.gz 1555951 BLAKE2B 589815d4781471a48d3bb4a12475762cb2ba8f885df8ea774f009c8be9ded41bccc414bb88a2b3d313701b0b2edefcd065fac8a13d208a7bb1679a3467a60c35 SHA512 e2fb1a87cb0cebae842f87412d0ccc8a18b20e5e2c4e3d9ad6ec3a6ae18e4e53c12efd9ea3f2515baa5bfec2b4ddee7808385cc471e3cca9b8c4be3d03093e85 DIST xmlada-22.0.0.tar.gz 1022947 BLAKE2B cea409a45a3b0c8eba48f858278d4e7129eca2e77fa749f5a761e31a81834efba67223f07c99441a9673a8f6de9a608a12cf610225ca5aee7fbde0235d9af1d9 SHA512 7e8a0cab2f4c300fe3b0d31e00d17334e36798430e49868448caa696044964464f558cffba8f35e35a58b097c968322891119b2abd9f210737ca877f0189f32e -EBUILD gprbuild-2021-r1.ebuild 1939 BLAKE2B b8631c09b20aed1bdc9c6fcac21f52a3307595fcc11d296d4819d2c8fd5c5ee046fc7377e30d821a619c0c46017987b946c9ec4de08ceaa9e09954dce348b600 SHA512 f1e5b231152cf236ef00142be869af09c3424c97c65619def0045863c7ac21fffc56bed6f003c0af4e126b82f638304c870bbd45769e9c23edce2e113579ea82 -EBUILD gprbuild-22.0.0.ebuild 2059 BLAKE2B de1269eb15fe3156ea47105fbca074cb5fdc298884ce7daa0b0bb3f3162666c6a9216e041102ab149befb907f708d418e8460f271566d9e3b1cf21565b1d2b69 SHA512 409484b30fec234d91ce1d186c6232ed0554cde0324d55d8c9231ab618496b264d5d2fb8d8e42ad58476b6ecc5f9ba3ef5c72653ff80c5ed6c542aa0a9a639c5 +EBUILD gprbuild-2021-r1.ebuild 1938 BLAKE2B 058a58dbd77220c11c1627867c758dec00df0727b4d2a9d2ebb94db71e466d39821b7bd084ffcaca41808f0dba30b4227f3353892206d9ef58cd9a89c513acad SHA512 7e825debb60ef8f8c9936ea1a3b8b8ca6987aa201c219ce18c404616150035e46a8860ce2a16a0db9d84b660c4bd62fcec6f4e5b858da532d8735040eebcb6ec +EBUILD gprbuild-2021-r2.ebuild 1970 BLAKE2B 502e146075d047a5b492f2f35503937e3e1f765637f63d8dbd42d3f9c2eceb1f541c73249c1f008c7de621ee7de3ea85aa2ea82bc174b81e1716ee7c12161802 SHA512 4581ff1adedf9ba53b3740a3dc6f7dd203f560f9723483b9c70c17e040c674f3f1d88744c2a28b35991bdc86416bc6c9a955c72062e7b08712c048c2fdeef839 +EBUILD gprbuild-22.0.0-r1.ebuild 2089 BLAKE2B 45dce3b479724a520aaea113d57eec8faa64f3c667c679d213b41a888be4ae887827acb24e38ea3b0f58a8175b4a512ab82ebc085ab362905e3db131e60cb7f2 SHA512 93404c1f91686ff58dc380634999c73bdfc2174bd13eb186b0245e86ded86c9a8676251c71353670481a9731c458a4324d9a0b8976cb1050c46e45f6fd6d767a MISC metadata.xml 888 BLAKE2B 635ae939acfcaa26b0ba80341ed90cb02d8c5a2cfa50ca78bbcf19bd3081cf434a51ef1b05547bc80f9174db1aabfad1bde6270c3c08ea4c119684a4af7d5e4e SHA512 65b9e30e2b0d5694fe31c244eeca739327274beda743330edb8f85f050a7f9c809cfb3a115b4f9349f282fc39de36f934354db864669f515da746cd9551b5337 diff --git a/dev-ada/gprbuild/files/gprbuild-2021-nm.patch b/dev-ada/gprbuild/files/gprbuild-2021-nm.patch new file mode 100644 index 000000000000..2bf41a8e1b07 --- /dev/null +++ b/dev-ada/gprbuild/files/gprbuild-2021-nm.patch @@ -0,0 +1,11 @@ +--- a/share/gprconfig/linker.xml 2021-12-21 21:36:45.306813518 +0100 ++++ b/share/gprconfig/linker.xml 2021-12-21 22:20:21.642668870 +0100 +@@ -128,7 +128,7 @@ + <host name="^i686.*-linux.*$" /> + </hosts> + <config> +- for Object_Lister use ("nm", "-g"); ++ for Object_Lister use ("${HOST(Ada)}-nm", "-g"); + for Object_Lister_Matcher use " [TDRB] (.*)"; + + LDFLAGS := External_As_List ("LDFLAGS", " "); diff --git a/dev-ada/gprbuild/files/gprbuild-22.0.0-nm.patch b/dev-ada/gprbuild/files/gprbuild-22.0.0-nm.patch new file mode 100644 index 000000000000..4455e8befffa --- /dev/null +++ b/dev-ada/gprbuild/files/gprbuild-22.0.0-nm.patch @@ -0,0 +1,11 @@ +--- a/share/gprconfig/linker.xml 2021-12-21 22:36:01.054738486 +0100 ++++ b/share/gprconfig/linker.xml 2021-12-21 22:36:59.973738600 +0100 +@@ -128,7 +128,7 @@ + <host name="^i686.*-linux.*$" /> + </hosts> + <config> +- for Object_Lister use ("nm", "-g"); ++ for Object_Lister use ("${HOST(Ada)}-nm", "-g"); + for Object_Lister_Matcher use " [TDRB] (.*)"; + + package Linker is diff --git a/dev-ada/gprbuild/gprbuild-2021-r1.ebuild b/dev-ada/gprbuild/gprbuild-2021-r1.ebuild index 37e819ad2623..c594e0557c65 100644 --- a/dev-ada/gprbuild/gprbuild-2021-r1.ebuild +++ b/dev-ada/gprbuild/gprbuild-2021-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI=" ${ADAMIRROR}/${XMLADAID}?filename=${XMLADA}.tar.gz -> ${XMLADA}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" DEPEND="${ADA_DEPS}" diff --git a/dev-ada/gprbuild/gprbuild-2021-r2.ebuild b/dev-ada/gprbuild/gprbuild-2021-r2.ebuild new file mode 100644 index 000000000000..40a16cb9b2d4 --- /dev/null +++ b/dev-ada/gprbuild/gprbuild-2021-r2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ADA_COMPAT=( gnat_202{0..1} ) + +inherit ada multiprocessing + +MYP=${P}-${PV}0519-19A34-src +ID=23a77a37247ff811609e23a0a271f445c299fc8f +XMLADA=xmlada-${PV}-${PV}0518-19D50-src +XMLADAID=6a2cf72f308cc787926b12ddc20993fcf2b8ea79 +ADAMIRROR=https://community.download.adacore.com/v1 + +DESCRIPTION="Multi-Language Management" +HOMEPAGE="http://libre.adacore.com/" +SRC_URI=" + ${ADAMIRROR}/${ID}?filename=${MYP}.tar.gz -> ${MYP}.tar.gz + ${ADAMIRROR}/${XMLADAID}?filename=${XMLADA}.tar.gz -> ${XMLADA}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="${ADA_DEPS}" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${MYP} + +REQUIRED_USE="${ADA_REQUIRED_USE}" +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-nm.patch +) + +src_prepare() { + default + sed -i \ + -e "s:@VER@:${GCC_PV}:g" \ + share/gprconfig/compilers.xml \ + share/gprconfig/gnat.xml \ + share/gprconfig/c.xml \ + share/gprconfig/linker.xml \ + || die + sed -i \ + -e "s:@GNATBIND@:${GNATBIND}:g" \ + src/gprlib.adb \ + || die +} + +bin_progs="gprbuild gprconfig gprclean gprinstall gprname gprls" +lib_progs="gprlib gprbind" + +src_compile() { + local xmlada_src="../${XMLADA}" + incflags="-Isrc -Igpr/src -I${xmlada_src}/sax -I${xmlada_src}/dom \ + -I${xmlada_src}/schema -I${xmlada_src}/unicode \ + -I${xmlada_src}/input_sources" + gcc -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die + for bin in ${bin_progs}; do + gnatmake -j$(makeopts_jobs) ${incflags} $ADAFLAGS ${bin}-main \ + -o ${bin} -largs ${LDFLAGS} gpr_imports.o || die + done + for lib in $lib_progs; do + gnatmake -j$(makeopts_jobs) ${incflags} ${lib} $ADAFLAGS \ + -largs ${LDFLAGS} gpr_imports.o || die + done +} + +src_install() { + dobin ${bin_progs} + exeinto /usr/libexec/gprbuild + doexe ${lib_progs} + insinto /usr/share/gprconfig + doins share/gprconfig/* + insinto /usr/share/gpr + doins share/_default.gpr + einstalldocs +} diff --git a/dev-ada/gprbuild/gprbuild-22.0.0.ebuild b/dev-ada/gprbuild/gprbuild-22.0.0-r1.ebuild index 6de6ca467e32..2a07d5e4d71d 100644 --- a/dev-ada/gprbuild/gprbuild-22.0.0.ebuild +++ b/dev-ada/gprbuild/gprbuild-22.0.0-r1.ebuild @@ -28,7 +28,10 @@ DEPEND="${ADA_DEPS}" RDEPEND="${DEPEND}" REQUIRED_USE="${ADA_REQUIRED_USE}" -PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-nm.patch +) src_prepare() { kb_src=../${GPRCONFIG_KB} |