[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 418e0544c39c797803d3bf0bafcd11682c4b6935 Author: Eli Schwartz gmail com> AuthorDate: Sun Mar 17 08:17:18 2024 + Commit: Sam James gentoo org> CommitDate: Sun Mar 17 08:42:04 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418e0544 dev-lang/tcc: mark as LTO-unsafe Closes: https://bugs.gentoo.org/866815 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 11 +-- dev-lang/tcc/tcc-0.9.27_p20230223.ebuild | 11 +-- dev-lang/tcc/tcc-.ebuild | 11 +-- 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild index 9026c599b410..c26113ad0aff 100644 --- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c" DESCRIPTION="A very small C compiler for ix86/amd64" @@ -54,6 +54,13 @@ src_prepare() { } src_configure() { + # fails tests + # https://bugs.gentoo.org/866815 + # + # Also distributes static libraries: + # https://bugs.gentoo.org/926120 + filter-lto + local libc use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise diff --git a/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild b/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild index c2d9231863d2..700abda72d4c 100644 --- a/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs MY_COMMIT="29ae3ed4d5b83eec43598d6cd7949bccb41c8083" DESCRIPTION="A very small C compiler for ix86/amd64" @@ -54,6 +54,13 @@ src_prepare() { } src_configure() { + # fails tests + # https://bugs.gentoo.org/866815 + # + # Also distributes static libraries: + # https://bugs.gentoo.org/926120 + filter-lto + local libc use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise diff --git a/dev-lang/tcc/tcc-.ebuild b/dev-lang/tcc/tcc-.ebuild index a6f9afd599ac..c9e9a83a18e4 100644 --- a/dev-lang/tcc/tcc-.ebuild +++ b/dev-lang/tcc/tcc-.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c" DESCRIPTION="A very small C compiler for ix86/amd64" @@ -54,6 +54,13 @@ src_prepare() { } src_configure() { + # fails tests + # https://bugs.gentoo.org/866815 + # + # Also distributes static libraries: + # https://bugs.gentoo.org/926120 + filter-lto + local libc use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 1d2a55131eb4ebb5e1f3703b9f9b99cf528287f5 Author: Nickolas Raymond Kaczynski disroot org> AuthorDate: Sat Feb 25 16:28:55 2023 + Commit: Yixun Lan gentoo org> CommitDate: Fri Mar 3 19:46:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d2a5513 dev-lang/tcc: add 20230223 snapshot Closes: https://github.com/gentoo/gentoo/pull/29788 Signed-off-by: Nickolas Raymond Kaczynski disroot.org> Signed-off-by: Yixun Lan gentoo.org> dev-lang/tcc/Manifest| 1 + dev-lang/tcc/tcc-0.9.27_p20230223.ebuild | 88 2 files changed, 89 insertions(+) diff --git a/dev-lang/tcc/Manifest b/dev-lang/tcc/Manifest index 67b6967077d6..5d342ed19601 100644 --- a/dev-lang/tcc/Manifest +++ b/dev-lang/tcc/Manifest @@ -1 +1,2 @@ DIST tcc-0.9.27_p20211022.tar.gz 893631 BLAKE2B f1a82498db65a9944f04a6c35897db6ceeea0e5d14ac383acc6b334fb2aa921a0e7b4badf647c101d064ceae1ee8d79ab91674a2d0faa2899b831a57e6148174 SHA512 5f40a0d31d63e876d1fb233758d9f58be2f14807bbc0847b7df3eb6bb8df0946100b58edb5a29caea8770201d02275daf0a3ca7668141151e931204ad7100fb3 +DIST tcc-0.9.27_p20230223.tar.gz 944179 BLAKE2B a8f77baf53846987f15a9005e100f109458e89805f0a6c7daafa55f8c22e0b47ca034cd8332839ef2a9e5840baa963e8a9185aa7fe4640ff89e5225f5be201b1 SHA512 335e40229572fa2dad82485d357349e26f4c999ea6622d3d3caa4b8eef357b2c5b56f76565e98073e57691b9adc919ded88ff015f9a95a86ce453392938b42f4 diff --git a/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild b/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild new file mode 100644 index ..c2d9231863d2 --- /dev/null +++ b/dev-lang/tcc/tcc-0.9.27_p20230223.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_COMMIT="29ae3ed4d5b83eec43598d6cd7949bccb41c8083" +DESCRIPTION="A very small C compiler for ix86/amd64" +HOMEPAGE="https://bellard.org/tcc/ https://repo.or.cz/tinycc.git/; + +if [[ ${PV} == ** ]]; then + EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git; + inherit git-r3 +elif [[ ${PV} == *_p* ]] ; then + SRC_URI="https://repo.or.cz/tinycc.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/tinycc-29ae3ed +else + SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; +fi + +LICENSE="LGPL-2.1" +SLOT="0" +if [[ ${PV} != ** ]] ; then + KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux" +fi + +BDEPEND="dev-lang/perl" # doc generation +IUSE="test" +RESTRICT="!test? ( test )" + +src_prepare() { + default + + # Don't strip + sed -i \ + -e 's|$(INSTALL) -s|$(INSTALL)|' \ + -e 's|STRIP_yes = -s|STRIP_yes =|' \ + Makefile || die + + # Fix examples + sed -i -e '1{ + i#! /usr/bin/tcc -run + /^#!/d + }' examples/ex*.c || die + sed -i -e '1s/$/ -lX11/' examples/ex4.c || die + + # bug 888115 + sed -i -e "s|/usr/local/bin/tcc|/usr/bin/tcc|g" tcc-doc.texi || die + + # Fix texi2html invocation + sed -i -e 's/-number//' Makefile || die + sed -i -e 's/--sections//' Makefile || die +} + +src_configure() { + local libc + + use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise + # better fixes welcome, it feels wrong to hack the env like this + + use elibc_musl && libc=musl + + # not autotools, so call configure directly + ./configure --cc="$(tc-getCC)" \ + ${libc:+--config-${libc}} \ + --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" +} + +src_compile() { + emake AR="$(tc-getAR)" LDFLAGS="${LDFLAGS}" +} + +src_test() { + # this is using tcc bits that don't know as-needed etc. + TCCFLAGS="" emake test +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc Changelog README TODO VERSION + #dohtml tcc-doc.html + exeinto /usr/share/doc/${PF}/examples + doexe examples/ex*.c +}
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 57495d9351909f9cc1ec293dadccd84de97ba3c8 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 7 11:30:36 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 7 11:30:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57495d93 dev-lang/tcc: Stabilize 0.9.27_p20211022 amd64, #888111 Signed-off-by: Arthur Zamarin gentoo.org> dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild index a6f9afd599ac..9026c599b410 100644 --- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild @@ -22,7 +22,7 @@ fi LICENSE="LGPL-2.1" SLOT="0" if [[ ${PV} != ** ]] ; then - KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux" + KEYWORDS="amd64 ~arm64 ~riscv ~x86 ~amd64-linux" fi BDEPEND="dev-lang/perl" # doc generation
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 1b2e36e1d2ca03a062d0fa4983a4168a691d422e Author: Yixun Lan gentoo org> AuthorDate: Wed Jan 4 00:24:46 2023 + Commit: Yixun Lan gentoo org> CommitDate: Wed Jan 4 00:27:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2e36e1 dev-lang/tcc: fix shabang in man documentation Closes: https://bugs.gentoo.org/888115 Signed-off-by: Yixun Lan gentoo.org> dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 5 - dev-lang/tcc/tcc-.ebuild | 7 +-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild index f99fb69925e6..a6f9afd599ac 100644 --- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -45,6 +45,9 @@ src_prepare() { }' examples/ex*.c || die sed -i -e '1s/$/ -lX11/' examples/ex4.c || die + # bug 888115 + sed -i -e "s|/usr/local/bin/tcc|/usr/bin/tcc|g" tcc-doc.texi || die + # Fix texi2html invocation sed -i -e 's/-number//' Makefile || die sed -i -e 's/--sections//' Makefile || die diff --git a/dev-lang/tcc/tcc-.ebuild b/dev-lang/tcc/tcc-.ebuild index ebcf4086791e..a6f9afd599ac 100644 --- a/dev-lang/tcc/tcc-.ebuild +++ b/dev-lang/tcc/tcc-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ fi LICENSE="LGPL-2.1" SLOT="0" if [[ ${PV} != ** ]] ; then - KEYWORDS="~amd64 ~x86 ~amd64-linux" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux" fi BDEPEND="dev-lang/perl" # doc generation @@ -45,6 +45,9 @@ src_prepare() { }' examples/ex*.c || die sed -i -e '1s/$/ -lX11/' examples/ex4.c || die + # bug 888115 + sed -i -e "s|/usr/local/bin/tcc|/usr/bin/tcc|g" tcc-doc.texi || die + # Fix texi2html invocation sed -i -e 's/-number//' Makefile || die sed -i -e 's/--sections//' Makefile || die
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: c221d61f1b77c554e329c144e5f9077dbd63bc53 Author: Yixun Lan gentoo org> AuthorDate: Mon Feb 7 08:55:20 2022 + Commit: Yixun Lan gentoo org> CommitDate: Mon Feb 7 08:55:20 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c221d61f dev-lang/tcc: keyword ~riscv Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Yixun Lan gentoo.org> dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild index a0b29c7f57b5..f99fb69925e6 100644 --- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild @@ -22,7 +22,7 @@ fi LICENSE="LGPL-2.1" SLOT="0" if [[ ${PV} != ** ]] ; then - KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux" + KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux" fi BDEPEND="dev-lang/perl" # doc generation
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 711adf4cd82b095e1ceffb1a63b39ae7edbea8c9 Author: Yixun Lan gentoo org> AuthorDate: Mon Feb 7 08:54:51 2022 + Commit: Yixun Lan gentoo org> CommitDate: Mon Feb 7 08:54:51 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=711adf4c dev-lang/tcc: keyword ~arm64 Closes: https://bugs.gentoo.org/832722 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Yixun Lan gentoo.org> dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild index ebcf4086791e..a0b29c7f57b5 100644 --- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild @@ -22,7 +22,7 @@ fi LICENSE="LGPL-2.1" SLOT="0" if [[ ${PV} != ** ]] ; then - KEYWORDS="~amd64 ~x86 ~amd64-linux" + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux" fi BDEPEND="dev-lang/perl" # doc generation
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 992a3fd5df31571b945e98a3a89d500aa4501c11 Author: Yixun Lan gentoo org> AuthorDate: Mon Feb 7 08:55:45 2022 + Commit: Yixun Lan gentoo org> CommitDate: Mon Feb 7 08:55:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=992a3fd5 dev-lang/tcc: drop old Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Yixun Lan gentoo.org> dev-lang/tcc/Manifest | 1 - dev-lang/tcc/tcc-0.9.27.ebuild | 65 -- 2 files changed, 66 deletions(-) diff --git a/dev-lang/tcc/Manifest b/dev-lang/tcc/Manifest index fb3b05d6eecc..67b6967077d6 100644 --- a/dev-lang/tcc/Manifest +++ b/dev-lang/tcc/Manifest @@ -1,2 +1 @@ -DIST tcc-0.9.27.tar.bz2 634999 BLAKE2B 9a76dac9f54fa0b64a72e874cfec9a4bd9b938d244d064b2e76bd31acfb9e48fdbdb8895132634be1dee4302293405bf75606a6804c8178afa8fd30daa53b73a SHA512 835184292d97c07f0ff7b36ec550e855e649b04e23c7e2a1c706d223409eb60708dc1ae969f28eba45e56c8b96ae56936b93caf9d8a13ac5adf119014d5367a7 DIST tcc-0.9.27_p20211022.tar.gz 893631 BLAKE2B f1a82498db65a9944f04a6c35897db6ceeea0e5d14ac383acc6b334fb2aa921a0e7b4badf647c101d064ceae1ee8d79ab91674a2d0faa2899b831a57e6148174 SHA512 5f40a0d31d63e876d1fb233758d9f58be2f14807bbc0847b7df3eb6bb8df0946100b58edb5a29caea8770201d02275daf0a3ca7668141151e931204ad7100fb3 diff --git a/dev-lang/tcc/tcc-0.9.27.ebuild b/dev-lang/tcc/tcc-0.9.27.ebuild deleted file mode 100644 index 7090fdeb01d1.. --- a/dev-lang/tcc/tcc-0.9.27.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="https://bellard.org/tcc/; -SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux" - -DEPEND="dev-lang/perl" # doc generation -RDEPEND="" -IUSE="test" -RESTRICT="!test? ( test )" - -src_prepare() { - # Don't strip - sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die - - # Fix examples - sed -i -e '1{ - i#! /usr/bin/tcc -run - /^#!/d - }' examples/ex*.c || die - sed -i -e '1s/$/ -lX11/' examples/ex4.c || die - - # Fix texi2html invocation - sed -i -e 's/-number//' Makefile || die - sed -i -e 's/--sections//' Makefile || die - - eapply_user -} - -src_configure() { - use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise - # better fixes welcome, it feels wrong to hack the env like this - # not autotools, so call configure directly - ./configure --cc="$(tc-getCC)" \ - --prefix="${EPREFIX}/usr" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc Changelog README TODO VERSION - #dohtml tcc-doc.html - exeinto /usr/share/doc/${PF}/examples - doexe examples/ex*.c -} - -src_test() { - # this is using tcc bits that don't know as-needed etc. - TCCFLAGS="" emake test -}
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 20c0319f0a049ddc161fcf5d650a6458b035cb64 Author: Sam James gentoo org> AuthorDate: Mon Oct 25 12:57:55 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 25 13:00:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20c0319f dev-lang/tcc: update HOMEPAGE Signed-off-by: Sam James gentoo.org> dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +- dev-lang/tcc/tcc-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild index 3081fc06884..fd9f2d5cc30 100644 --- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c" DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="https://bellard.org/tcc/; +HOMEPAGE="https://bellard.org/tcc/ https://repo.or.cz/tinycc.git/; if [[ ${PV} == ** ]]; then EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git; diff --git a/dev-lang/tcc/tcc-.ebuild b/dev-lang/tcc/tcc-.ebuild index 3081fc06884..fd9f2d5cc30 100644 --- a/dev-lang/tcc/tcc-.ebuild +++ b/dev-lang/tcc/tcc-.ebuild @@ -7,7 +7,7 @@ inherit toolchain-funcs MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c" DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="https://bellard.org/tcc/; +HOMEPAGE="https://bellard.org/tcc/ https://repo.or.cz/tinycc.git/; if [[ ${PV} == ** ]]; then EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git;
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: fce1a7679fe7e09f4a8e930df1e692a4274346b1 Author: Sam James gentoo org> AuthorDate: Mon Oct 25 12:59:08 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 25 13:00:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fce1a767 dev-lang/tcc: respect LDFLAGS, no pre-stripping Two for the price of one! Bug: https://bugs.gentoo.org/820200 Closes: https://bugs.gentoo.org/820191 Closes: https://bugs.gentoo.org/820188 Signed-off-by: Sam James gentoo.org> dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +- dev-lang/tcc/tcc-.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild index fd9f2d5cc30..6d413376268 100644 --- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild @@ -68,7 +68,7 @@ src_configure() { } src_compile() { - emake AR="$(tc-getAR)" + emake AR="$(tc-getAR)" LDFLAGS="${LDFLAGS}" } src_test() { diff --git a/dev-lang/tcc/tcc-.ebuild b/dev-lang/tcc/tcc-.ebuild index fd9f2d5cc30..6d413376268 100644 --- a/dev-lang/tcc/tcc-.ebuild +++ b/dev-lang/tcc/tcc-.ebuild @@ -68,7 +68,7 @@ src_configure() { } src_compile() { - emake AR="$(tc-getAR)" + emake AR="$(tc-getAR)" LDFLAGS="${LDFLAGS}" } src_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 1adaddf5110adeaf1e3b84d1d15d42e66798c4ef Author: Sam James gentoo org> AuthorDate: Mon Oct 25 12:38:23 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 25 12:38:23 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1adaddf5 dev-lang/tcc: add musl/uclibc support Closes: https://bugs.gentoo.org/765652 Bug: https://bugs.gentoo.org/715428 Signed-off-by: Sam James gentoo.org> dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 6 ++ dev-lang/tcc/tcc-.ebuild | 6 ++ 2 files changed, 12 insertions(+) diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild index f53743b5e6b..3081fc06884 100644 --- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild @@ -51,11 +51,17 @@ src_prepare() { } src_configure() { + local libc + use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise # better fixes welcome, it feels wrong to hack the env like this + use elibc_musl && libc=musl + use elibc_uclibc && libc=uClibc + # not autotools, so call configure directly ./configure --cc="$(tc-getCC)" \ + ${libc:+--config-${libc}} \ --prefix="${EPREFIX}/usr" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \ --docdir="${EPREFIX}/usr/share/doc/${PF}" diff --git a/dev-lang/tcc/tcc-.ebuild b/dev-lang/tcc/tcc-.ebuild index f53743b5e6b..3081fc06884 100644 --- a/dev-lang/tcc/tcc-.ebuild +++ b/dev-lang/tcc/tcc-.ebuild @@ -51,11 +51,17 @@ src_prepare() { } src_configure() { + local libc + use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise # better fixes welcome, it feels wrong to hack the env like this + use elibc_musl && libc=musl + use elibc_uclibc && libc=uClibc + # not autotools, so call configure directly ./configure --cc="$(tc-getCC)" \ + ${libc:+--config-${libc}} \ --prefix="${EPREFIX}/usr" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \ --docdir="${EPREFIX}/usr/share/doc/${PF}"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 717eba5b5cfb78b1438c348882b34c88b3dc173a Author: Sam James gentoo org> AuthorDate: Mon Oct 25 12:34:24 2021 + Commit: Sam James gentoo org> CommitDate: Mon Oct 25 12:35:11 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=717eba5b dev-lang/tcc: add 0.9.27_p20211022 (glibc-2.34, security fixes) Upstream development seems to just be rolling now too. Closes: https://bugs.gentoo.org/806511 Bug: https://bugs.gentoo.org/737092 Bug: https://bugs.gentoo.org/715428 Bug: https://bugs.gentoo.org/765652 Bug: https://bugs.gentoo.org/687114 Signed-off-by: Sam James gentoo.org> dev-lang/tcc/Manifest | 1 + ...tcc-.ebuild => tcc-0.9.27_p20211022.ebuild} | 43 +- dev-lang/tcc/tcc-.ebuild | 43 +- 3 files changed, 51 insertions(+), 36 deletions(-) diff --git a/dev-lang/tcc/Manifest b/dev-lang/tcc/Manifest index 170ccf6bd97..fb3b05d6eec 100644 --- a/dev-lang/tcc/Manifest +++ b/dev-lang/tcc/Manifest @@ -1 +1,2 @@ DIST tcc-0.9.27.tar.bz2 634999 BLAKE2B 9a76dac9f54fa0b64a72e874cfec9a4bd9b938d244d064b2e76bd31acfb9e48fdbdb8895132634be1dee4302293405bf75606a6804c8178afa8fd30daa53b73a SHA512 835184292d97c07f0ff7b36ec550e855e649b04e23c7e2a1c706d223409eb60708dc1ae969f28eba45e56c8b96ae56936b93caf9d8a13ac5adf119014d5367a7 +DIST tcc-0.9.27_p20211022.tar.gz 893631 BLAKE2B f1a82498db65a9944f04a6c35897db6ceeea0e5d14ac383acc6b334fb2aa921a0e7b4badf647c101d064ceae1ee8d79ab91674a2d0faa2899b831a57e6148174 SHA512 5f40a0d31d63e876d1fb233758d9f58be2f14807bbc0847b7df3eb6bb8df0946100b58edb5a29caea8770201d02275daf0a3ca7668141151e931204ad7100fb3 diff --git a/dev-lang/tcc/tcc-.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild similarity index 75% copy from dev-lang/tcc/tcc-.ebuild copy to dev-lang/tcc/tcc-0.9.27_p20211022.ebuild index 5aa530ef3af..f53743b5e6b 100644 --- a/dev-lang/tcc/tcc-.ebuild +++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild @@ -1,34 +1,42 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 +inherit toolchain-funcs + +MY_COMMIT="16456168430c9e185dd94b8215aa77d02bbb8a2c" DESCRIPTION="A very small C compiler for ix86/amd64" HOMEPAGE="https://bellard.org/tcc/; if [[ ${PV} == ** ]]; then EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git; - SRC_URI="" - scm_eclass=git-r3 + inherit git-r3 +elif [[ ${PV} == *_p* ]] ; then + SRC_URI="https://repo.or.cz/tinycc.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/tinycc-1645616 else - KEYWORDS="~amd64 ~x86 ~amd64-linux" SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; fi -inherit toolchain-funcs ${scm_eclass} - LICENSE="LGPL-2.1" SLOT="0" +if [[ ${PV} != ** ]] ; then + KEYWORDS="~amd64 ~x86 ~amd64-linux" +fi -DEPEND="dev-lang/perl" # doc generation -# Both tendra and tinycc install /usr/bin/tcc -RDEPEND="!dev-lang/tendra" +BDEPEND="dev-lang/perl" # doc generation IUSE="test" RESTRICT="!test? ( test )" src_prepare() { + default + # Don't strip - sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die + sed -i \ + -e 's|$(INSTALL) -s|$(INSTALL)|' \ + -e 's|STRIP_yes = -s|STRIP_yes =|' \ + Makefile || die # Fix examples sed -i -e '1{ @@ -37,16 +45,15 @@ src_prepare() { }' examples/ex*.c || die sed -i -e '1s/$/ -lX11/' examples/ex4.c || die - # fix texi2html invocation + # Fix texi2html invocation sed -i -e 's/-number//' Makefile || die sed -i -e 's/--sections//' Makefile || die - - eapply_user } src_configure() { use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise # better fixes welcome, it feels wrong to hack the env like this + # not autotools, so call configure directly ./configure --cc="$(tc-getCC)" \ --prefix="${EPREFIX}/usr" \ @@ -58,6 +65,11 @@ src_compile() { emake AR="$(tc-getAR)" } +src_test() { + # this is using tcc bits that don't know as-needed etc. + TCCFLAGS="" emake test +} + src_install() { emake DESTDIR="${D}" install @@ -66,8 +78,3 @@ src_install() { exeinto /usr/share/doc/${PF}/examples doexe examples/ex*.c } - -src_test() { - # this is using tcc bits that don't know as-needed etc. - TCCFLAGS="" emake test -} diff --git a/dev-lang/tcc/tcc-.ebuild b/dev-lang/tcc/tcc-.ebuild index 5aa530ef3af..f53743b5e6b 100644 --- a/dev-lang/tcc/tcc-.ebuild +++ b/dev-lang/tcc/tcc-.ebuild @@ -1,34 +1,42 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 +inherit toolchain-funcs +
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/, dev-lang/tcc/files/
commit: 6ae15f9c5720e894da56df3b04e28ac010832893 Author: Yixun Lan gentoo org> AuthorDate: Fri Feb 14 22:13:37 2020 + Commit: Yixun Lan gentoo org> CommitDate: Fri Feb 14 22:19:15 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ae15f9c dev-lang/tcc: drop old Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Yixun Lan gentoo.org> dev-lang/tcc/Manifest | 1 - dev-lang/tcc/files/clang.patch| 18 -- dev-lang/tcc/files/linker.patch | 18 -- dev-lang/tcc/tcc-0.9.26-r3.ebuild | 71 --- 4 files changed, 108 deletions(-) diff --git a/dev-lang/tcc/Manifest b/dev-lang/tcc/Manifest index eaccaa273ef..170ccf6bd97 100644 --- a/dev-lang/tcc/Manifest +++ b/dev-lang/tcc/Manifest @@ -1,2 +1 @@ -DIST tcc-0.9.26.tar.bz2 525906 BLAKE2B 588e387d563ddede9842ac9012df36520fb1596bd3047fda2684ab44e49f8c1a35c1560c2fee724933cfcad5d618d84df853b72e1fee144b551cb67f7af1558a SHA512 abdbe208498cf4865a2036b5426616f5888b9b0e8d5d2fda6d1dd4afab3386167f12eca87d8a5c4c9b7dc88620d983ddce3e874b7dfa9c21eceea29ffa635d53 DIST tcc-0.9.27.tar.bz2 634999 BLAKE2B 9a76dac9f54fa0b64a72e874cfec9a4bd9b938d244d064b2e76bd31acfb9e48fdbdb8895132634be1dee4302293405bf75606a6804c8178afa8fd30daa53b73a SHA512 835184292d97c07f0ff7b36ec550e855e649b04e23c7e2a1c706d223409eb60708dc1ae969f28eba45e56c8b96ae56936b93caf9d8a13ac5adf119014d5367a7 diff --git a/dev-lang/tcc/files/clang.patch b/dev-lang/tcc/files/clang.patch deleted file mode 100644 index 01cc72335fd..000 --- a/dev-lang/tcc/files/clang.patch +++ /dev/null @@ -1,18 +0,0 @@ -# Fix compiling tcc with clang. Upstream commit 73ac39c317a20accaf3b25ba833deee0c2e2849f -# Gentoo bug #502452 -diff --git a/lib/libtcc1.c b/lib/libtcc1.c -index cf9babf..b46fb5d 100644 a/lib/libtcc1.c -+++ b/lib/libtcc1.c -@@ -647,6 +647,11 @@ struct __va_list_struct { - char *reg_save_area; - }; - -+#undef __va_start -+#undef __va_arg -+#undef __va_copy -+#undef __va_end -+ - void *__va_start(void *fp) - { - struct __va_list_struct *ap = diff --git a/dev-lang/tcc/files/linker.patch b/dev-lang/tcc/files/linker.patch deleted file mode 100644 index 8304470e368..000 --- a/dev-lang/tcc/files/linker.patch +++ /dev/null @@ -1,18 +0,0 @@ -# Fixes the default linker options for portage -# Upstream commit ba286136bf8e48c71ffd6c2fd9ce97e64a6eeeb1 - -diff --git a/libtcc.c b/libtcc.c -index 127806f..dc78643 100644 a/libtcc.c -+++ b/libtcc.c -@@ -1560,6 +1560,10 @@ static int tcc_set_linker(TCCState *s, const char *option) - } else - goto err; - -+} else if (link_option(option, "as-needed", )) { -+ignoring = 1; -+} else if (link_option(option, "O", )) { -+ignoring = 1; - } else if (link_option(option, "rpath=", )) { - s->rpath = copy_linker_arg(p); - } else if (link_option(option, "section-alignment=", )) { diff --git a/dev-lang/tcc/tcc-0.9.26-r3.ebuild b/dev-lang/tcc/tcc-0.9.26-r3.ebuild deleted file mode 100644 index 67fb6add1c2..000 --- a/dev-lang/tcc/tcc-0.9.26-r3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="https://bellard.org/tcc/; -SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux" - -DEPEND="dev-lang/perl" # doc generation -RDEPEND="" -IUSE="test" -RESTRICT="!test? ( test )" - -src_prepare() { - # Don't strip - sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die - - # Fix examples - sed -i -e '1{ - i#! /usr/bin/tcc -run - /^#!/d - }' examples/ex*.c || die - sed -i -e '1s/$/ -lX11/' examples/ex4.c || die - - # Fix texi2html invocation - sed -i -e 's/-number//' Makefile || die - sed -i -e 's/--sections//' Makefile || die - - # Fix compiling tcc with clang - eapply "${FILESDIR}"/clang.patch - - # Allows using tcc as the system compiler for Gentoo - eapply "${FILESDIR}"/linker.patch - - eapply_user -} - -src_configure() { - use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise - # better fixes welcome, it feels wrong to hack the env like this - # not autotools, so call configure directly - ./configure --cc="$(tc-getCC)" \ - --prefix="${EPREFIX}/usr" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc Changelog README TODO VERSION - #dohtml tcc-doc.html -
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: ba12c66a4cedacaffe949d6b91f63ec9f9185040 Author: Yixun Lan gentoo org> AuthorDate: Fri Feb 14 22:12:51 2020 + Commit: Yixun Lan gentoo org> CommitDate: Fri Feb 14 22:19:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba12c66a dev-lang/tcc: QA: fix none existent blocker Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Yixun Lan gentoo.org> dev-lang/tcc/tcc-0.9.26-r3.ebuild | 5 ++--- dev-lang/tcc/tcc-0.9.27.ebuild| 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-lang/tcc/tcc-0.9.26-r3.ebuild b/dev-lang/tcc/tcc-0.9.26-r3.ebuild index 9148d63ce5d..67fb6add1c2 100644 --- a/dev-lang/tcc/tcc-0.9.26-r3.ebuild +++ b/dev-lang/tcc/tcc-0.9.26-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -14,8 +14,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux" DEPEND="dev-lang/perl" # doc generation -# Both tendra and tinycc install /usr/bin/tcc -RDEPEND="!dev-lang/tendra" +RDEPEND="" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-lang/tcc/tcc-0.9.27.ebuild b/dev-lang/tcc/tcc-0.9.27.ebuild index 4fee67f37dc..7090fdeb01d 100644 --- a/dev-lang/tcc/tcc-0.9.27.ebuild +++ b/dev-lang/tcc/tcc-0.9.27.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -14,8 +14,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux" DEPEND="dev-lang/perl" # doc generation -# Both tendra and tinycc install /usr/bin/tcc -RDEPEND="!dev-lang/tendra" +RDEPEND="" IUSE="test" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: ffb71239854e62bf0645ab14de142d8328b464cf Author: Yixun Lan gentoo org> AuthorDate: Fri Feb 14 22:05:42 2020 + Commit: Yixun Lan gentoo org> CommitDate: Fri Feb 14 22:19:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb71239 dev-lang/tcc: QA: drop redundant long description Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Yixun Lan gentoo.org> dev-lang/tcc/metadata.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/dev-lang/tcc/metadata.xml b/dev-lang/tcc/metadata.xml index e9e27ec895b..4f503c94254 100644 --- a/dev-lang/tcc/metadata.xml +++ b/dev-lang/tcc/metadata.xml @@ -5,7 +5,4 @@ d...@gentoo.org Yixun Lan - - Tiny C compiler -
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 786f85dfc4a702b112f8b9556b3ff05aff49cc82 Author: Yixun Lan gentoo org> AuthorDate: Thu Apr 11 04:03:32 2019 + Commit: Yixun Lan gentoo org> CommitDate: Thu Apr 11 04:06:40 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786f85df dev-lang/tcc: add myself to maintainer list Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Yixun Lan gentoo.org> dev-lang/tcc/metadata.xml | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dev-lang/tcc/metadata.xml b/dev-lang/tcc/metadata.xml index 91830b9b654..e9e27ec895b 100644 --- a/dev-lang/tcc/metadata.xml +++ b/dev-lang/tcc/metadata.xml @@ -1,8 +1,11 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - - Tiny C compiler - + + d...@gentoo.org + Yixun Lan + + + Tiny C compiler +
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 4d4f507034963974f35a339175819759305f0aed Author: Yixun Lan gentoo org> AuthorDate: Thu Apr 11 04:07:16 2019 + Commit: Yixun Lan gentoo org> CommitDate: Thu Apr 11 04:07:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4f5070 dev-lang/tcc: drop old ebuilds Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Yixun Lan gentoo.org> dev-lang/tcc/tcc-0.9.26-r1.ebuild | 66 --- dev-lang/tcc/tcc-0.9.26-r2.ebuild | 63 - 2 files changed, 129 deletions(-) diff --git a/dev-lang/tcc/tcc-0.9.26-r1.ebuild b/dev-lang/tcc/tcc-0.9.26-r1.ebuild deleted file mode 100644 index 07171a4fca7..000 --- a/dev-lang/tcc/tcc-0.9.26-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils toolchain-funcs - -DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="https://bellard.org/tcc/; -SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="dev-lang/perl" # doc generation -# Both tendra and tinycc install /usr/bin/tcc -RDEPEND="!dev-lang/tendra" -IUSE="test" - -src_prepare() { - # Don't strip - sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die - - # Fix examples - sed -i -e '1{ - i#! /usr/bin/tcc -run - /^#!/d - }' examples/ex*.c || die - sed -i -e '1s/$/ -lX11/' examples/ex4.c || die - - # fix texi2html invocation - sed -i -e 's/-number//' Makefile || die - sed -i -e 's/--sections//' Makefile || die -} - -src_configure() { - use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise - # better fixes welcome, it feels wrong to hack the env like this - # not autotools, so call configure directly - ./configure --cc="$(tc-getCC)" \ - --bindir=/usr/bin \ - --libdir=/usr/$(get_libdir) \ - --tccdir=tcc \ - --includedir=/usr/include \ - --docdir=/usr/share/doc/${PF} \ - --mandir=/usr/share/man -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc Changelog README TODO VERSION - #dohtml tcc-doc.html - exeinto /usr/share/doc/${PF}/examples - doexe examples/ex*.c -} - -src_test() { - # this is using tcc bits that don't know as-needed etc. - TCCFLAGS="" emake test -} diff --git a/dev-lang/tcc/tcc-0.9.26-r2.ebuild b/dev-lang/tcc/tcc-0.9.26-r2.ebuild deleted file mode 100644 index 757cc7d58e0..000 --- a/dev-lang/tcc/tcc-0.9.26-r2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils toolchain-funcs - -DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="https://bellard.org/tcc/; -SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux" - -DEPEND="dev-lang/perl" # doc generation -# Both tendra and tinycc install /usr/bin/tcc -RDEPEND="!dev-lang/tendra" -IUSE="test" - -src_prepare() { - # Don't strip - sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die - - # Fix examples - sed -i -e '1{ - i#! /usr/bin/tcc -run - /^#!/d - }' examples/ex*.c || die - sed -i -e '1s/$/ -lX11/' examples/ex4.c || die - - # fix texi2html invocation - sed -i -e 's/-number//' Makefile || die - sed -i -e 's/--sections//' Makefile || die -} - -src_configure() { - use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise - # better fixes welcome, it feels wrong to hack the env like this - # not autotools, so call configure directly - ./configure --cc="$(tc-getCC)" \ - --prefix="${EPREFIX}/usr" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc Changelog README TODO VERSION - #dohtml tcc-doc.html - exeinto /usr/share/doc/${PF}/examples - doexe examples/ex*.c -} - -src_test() { - # this is using tcc bits that don't know as-needed etc. - TCCFLAGS="" emake test -}
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: a52a803513800b912112cbe95b343c4fc01dce82 Author: Austin English gentoo org> AuthorDate: Tue Apr 9 02:48:20 2019 + Commit: Austin English gentoo org> CommitDate: Tue Apr 9 03:12:23 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52a8035 dev-lang/tcc: move my packages to maintainer-needed Signed-off-by: Austin English gentoo.org> Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.62, Repoman-2.3.12 dev-lang/tcc/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dev-lang/tcc/metadata.xml b/dev-lang/tcc/metadata.xml index 56d7c4404e3..91830b9b654 100644 --- a/dev-lang/tcc/metadata.xml +++ b/dev-lang/tcc/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - -wizarde...@gentoo.org -Austin English - + Tiny C compiler
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: e87ffca2fbd985a67f26249c3b270dc09b23fd66 Author: Michael Mair-Keimberger gmail com> AuthorDate: Mon May 7 10:41:37 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Sun May 13 19:18:56 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e87ffca2 dev-lang/tcc: use HTTPS Closes: https://github.com/gentoo/gentoo/pull/8297 dev-lang/tcc/tcc-0.9.26-r1.ebuild | 6 +++--- dev-lang/tcc/tcc-0.9.26-r2.ebuild | 6 +++--- dev-lang/tcc/tcc-0.9.26-r3.ebuild | 6 +++--- dev-lang/tcc/tcc-0.9.27.ebuild| 6 +++--- dev-lang/tcc/tcc-.ebuild | 8 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dev-lang/tcc/tcc-0.9.26-r1.ebuild b/dev-lang/tcc/tcc-0.9.26-r1.ebuild index 4fbc6b2a7c0..07171a4fca7 100644 --- a/dev-lang/tcc/tcc-0.9.26-r1.ebuild +++ b/dev-lang/tcc/tcc-0.9.26-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -6,8 +6,8 @@ EAPI="5" inherit eutils toolchain-funcs DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="http://bellard.org/tcc/; -SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; +HOMEPAGE="https://bellard.org/tcc/; +SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; LICENSE="LGPL-2.1" SLOT="0" diff --git a/dev-lang/tcc/tcc-0.9.26-r2.ebuild b/dev-lang/tcc/tcc-0.9.26-r2.ebuild index 808555d4661..757cc7d58e0 100644 --- a/dev-lang/tcc/tcc-0.9.26-r2.ebuild +++ b/dev-lang/tcc/tcc-0.9.26-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -6,8 +6,8 @@ EAPI="5" inherit eutils toolchain-funcs DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="http://bellard.org/tcc/; -SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; +HOMEPAGE="https://bellard.org/tcc/; +SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; LICENSE="LGPL-2.1" SLOT="0" diff --git a/dev-lang/tcc/tcc-0.9.26-r3.ebuild b/dev-lang/tcc/tcc-0.9.26-r3.ebuild index cd260028a26..edcf65c95fd 100644 --- a/dev-lang/tcc/tcc-0.9.26-r3.ebuild +++ b/dev-lang/tcc/tcc-0.9.26-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -6,8 +6,8 @@ EAPI="6" inherit toolchain-funcs DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="http://bellard.org/tcc/; -SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; +HOMEPAGE="https://bellard.org/tcc/; +SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; LICENSE="LGPL-2.1" SLOT="0" diff --git a/dev-lang/tcc/tcc-0.9.27.ebuild b/dev-lang/tcc/tcc-0.9.27.ebuild index 9900cc9ea3a..c9bb96edd47 100644 --- a/dev-lang/tcc/tcc-0.9.27.ebuild +++ b/dev-lang/tcc/tcc-0.9.27.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" @@ -6,8 +6,8 @@ EAPI="6" inherit toolchain-funcs DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="http://bellard.org/tcc/; -SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; +HOMEPAGE="https://bellard.org/tcc/; +SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; LICENSE="LGPL-2.1" SLOT="0" diff --git a/dev-lang/tcc/tcc-.ebuild b/dev-lang/tcc/tcc-.ebuild index d55542ed7b7..dbc3af48d0a 100644 --- a/dev-lang/tcc/tcc-.ebuild +++ b/dev-lang/tcc/tcc-.ebuild @@ -1,19 +1,19 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" DESCRIPTION="A very small C compiler for ix86/amd64" -HOMEPAGE="http://bellard.org/tcc/; +HOMEPAGE="https://bellard.org/tcc/; if [[ $PV == ** ]]; then - EGIT_REPO_URI="http://repo.or.cz/r/tinycc.git; + EGIT_REPO_URI="https://repo.or.cz/r/tinycc.git; KEYWORDS="" SRC_URI="" scm_eclass=git-r3 else KEYWORDS="~amd64 ~x86 ~amd64-linux" - SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; + SRC_URI="https://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; fi inherit toolchain-funcs ${scm_eclass}
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: b8c9774cae106f0321bb303d7fdc712cdec6087f Author: Austin English gentoo org> AuthorDate: Mon Dec 18 20:38:19 2017 + Commit: Austin English gentoo org> CommitDate: Mon Dec 18 21:06:08 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c9774c dev-lang/tcc: update ebuild to EAPI 6 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-lang/tcc/tcc-.ebuild | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/dev-lang/tcc/tcc-.ebuild b/dev-lang/tcc/tcc-.ebuild index 728ed94dbec..d55542ed7b7 100644 --- a/dev-lang/tcc/tcc-.ebuild +++ b/dev-lang/tcc/tcc-.ebuild @@ -1,17 +1,25 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" - -inherit eutils toolchain-funcs git-r3 +EAPI="6" DESCRIPTION="A very small C compiler for ix86/amd64" HOMEPAGE="http://bellard.org/tcc/; -EGIT_REPO_URI="http://repo.or.cz/r/tinycc.git; + +if [[ $PV == ** ]]; then + EGIT_REPO_URI="http://repo.or.cz/r/tinycc.git; + KEYWORDS="" + SRC_URI="" + scm_eclass=git-r3 +else + KEYWORDS="~amd64 ~x86 ~amd64-linux" + SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; +fi + +inherit toolchain-funcs ${scm_eclass} LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="" DEPEND="dev-lang/perl" # doc generation # Both tendra and tinycc install /usr/bin/tcc @@ -32,6 +40,8 @@ src_prepare() { # fix texi2html invocation sed -i -e 's/-number//' Makefile || die sed -i -e 's/--sections//' Makefile || die + + eapply_user } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: b4154fabf40ed0574cbb52b5d771f03ee57902fa Author: Austin English gentoo org> AuthorDate: Mon Dec 18 20:57:58 2017 + Commit: Austin English gentoo org> CommitDate: Mon Dec 18 21:06:08 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4154fab dev-lang/tcc: version bump, 0.9.27 dev-lang/tcc/Manifest | 1 + dev-lang/tcc/tcc-0.9.27.ebuild | 65 ++ 2 files changed, 66 insertions(+) diff --git a/dev-lang/tcc/Manifest b/dev-lang/tcc/Manifest index 35efe36bd08..eaccaa273ef 100644 --- a/dev-lang/tcc/Manifest +++ b/dev-lang/tcc/Manifest @@ -1 +1,2 @@ DIST tcc-0.9.26.tar.bz2 525906 BLAKE2B 588e387d563ddede9842ac9012df36520fb1596bd3047fda2684ab44e49f8c1a35c1560c2fee724933cfcad5d618d84df853b72e1fee144b551cb67f7af1558a SHA512 abdbe208498cf4865a2036b5426616f5888b9b0e8d5d2fda6d1dd4afab3386167f12eca87d8a5c4c9b7dc88620d983ddce3e874b7dfa9c21eceea29ffa635d53 +DIST tcc-0.9.27.tar.bz2 634999 BLAKE2B 9a76dac9f54fa0b64a72e874cfec9a4bd9b938d244d064b2e76bd31acfb9e48fdbdb8895132634be1dee4302293405bf75606a6804c8178afa8fd30daa53b73a SHA512 835184292d97c07f0ff7b36ec550e855e649b04e23c7e2a1c706d223409eb60708dc1ae969f28eba45e56c8b96ae56936b93caf9d8a13ac5adf119014d5367a7 diff --git a/dev-lang/tcc/tcc-0.9.27.ebuild b/dev-lang/tcc/tcc-0.9.27.ebuild new file mode 100644 index 000..9900cc9ea3a --- /dev/null +++ b/dev-lang/tcc/tcc-0.9.27.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="A very small C compiler for ix86/amd64" +HOMEPAGE="http://bellard.org/tcc/; +SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" + +DEPEND="dev-lang/perl" # doc generation +# Both tendra and tinycc install /usr/bin/tcc +RDEPEND="!dev-lang/tendra" +IUSE="test" + +src_prepare() { + # Don't strip + sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die + + # Fix examples + sed -i -e '1{ + i#! /usr/bin/tcc -run + /^#!/d + }' examples/ex*.c || die + sed -i -e '1s/$/ -lX11/' examples/ex4.c || die + + # Fix texi2html invocation + sed -i -e 's/-number//' Makefile || die + sed -i -e 's/--sections//' Makefile || die + + eapply_user +} + +src_configure() { + use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise + # better fixes welcome, it feels wrong to hack the env like this + # not autotools, so call configure directly + ./configure --cc="$(tc-getCC)" \ + --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc Changelog README TODO VERSION + #dohtml tcc-doc.html + exeinto /usr/share/doc/${PF}/examples + doexe examples/ex*.c +} + +src_test() { + # this is using tcc bits that don't know as-needed etc. + TCCFLAGS="" emake test +}
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/files/
commit: 8c0a42423c236118fbca346c5f9be770913c766b Author: Austin English gentoo org> AuthorDate: Mon Dec 18 20:25:15 2017 + Commit: Austin English gentoo org> CommitDate: Mon Dec 18 21:06:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c0a4242 dev-lang/tcc: fix patch filenames Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-lang/tcc/files/clang.patch | 34 +- dev-lang/tcc/files/linker.patch | 34 +- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/dev-lang/tcc/files/clang.patch b/dev-lang/tcc/files/clang.patch index 8304470e368..01cc72335fd 100644 --- a/dev-lang/tcc/files/clang.patch +++ b/dev-lang/tcc/files/clang.patch @@ -1,18 +1,18 @@ -# Fixes the default linker options for portage -# Upstream commit ba286136bf8e48c71ffd6c2fd9ce97e64a6eeeb1 - -diff --git a/libtcc.c b/libtcc.c -index 127806f..dc78643 100644 a/libtcc.c -+++ b/libtcc.c -@@ -1560,6 +1560,10 @@ static int tcc_set_linker(TCCState *s, const char *option) - } else - goto err; +# Fix compiling tcc with clang. Upstream commit 73ac39c317a20accaf3b25ba833deee0c2e2849f +# Gentoo bug #502452 +diff --git a/lib/libtcc1.c b/lib/libtcc1.c +index cf9babf..b46fb5d 100644 +--- a/lib/libtcc1.c b/lib/libtcc1.c +@@ -647,6 +647,11 @@ struct __va_list_struct { + char *reg_save_area; + }; -+} else if (link_option(option, "as-needed", )) { -+ignoring = 1; -+} else if (link_option(option, "O", )) { -+ignoring = 1; - } else if (link_option(option, "rpath=", )) { - s->rpath = copy_linker_arg(p); - } else if (link_option(option, "section-alignment=", )) { ++#undef __va_start ++#undef __va_arg ++#undef __va_copy ++#undef __va_end ++ + void *__va_start(void *fp) + { + struct __va_list_struct *ap = diff --git a/dev-lang/tcc/files/linker.patch b/dev-lang/tcc/files/linker.patch index 01cc72335fd..8304470e368 100644 --- a/dev-lang/tcc/files/linker.patch +++ b/dev-lang/tcc/files/linker.patch @@ -1,18 +1,18 @@ -# Fix compiling tcc with clang. Upstream commit 73ac39c317a20accaf3b25ba833deee0c2e2849f -# Gentoo bug #502452 -diff --git a/lib/libtcc1.c b/lib/libtcc1.c -index cf9babf..b46fb5d 100644 a/lib/libtcc1.c -+++ b/lib/libtcc1.c -@@ -647,6 +647,11 @@ struct __va_list_struct { - char *reg_save_area; - }; +# Fixes the default linker options for portage +# Upstream commit ba286136bf8e48c71ffd6c2fd9ce97e64a6eeeb1 + +diff --git a/libtcc.c b/libtcc.c +index 127806f..dc78643 100644 +--- a/libtcc.c b/libtcc.c +@@ -1560,6 +1560,10 @@ static int tcc_set_linker(TCCState *s, const char *option) + } else + goto err; -+#undef __va_start -+#undef __va_arg -+#undef __va_copy -+#undef __va_end -+ - void *__va_start(void *fp) - { - struct __va_list_struct *ap = ++} else if (link_option(option, "as-needed", )) { ++ignoring = 1; ++} else if (link_option(option, "O", )) { ++ignoring = 1; + } else if (link_option(option, "rpath=", )) { + s->rpath = copy_linker_arg(p); + } else if (link_option(option, "section-alignment=", )) {
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/files/, dev-lang/tcc/
commit: 5f3838b3c67e7400a95f87496965354b1af777c4 Author: Austin English gentoo org> AuthorDate: Thu Jun 2 05:20:25 2016 + Commit: Austin English gentoo org> CommitDate: Thu Jun 2 05:20:54 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f3838b3 dev-lang/tcc: fix building with clang * fix building tcc with clang * allow using tcc as system compiler * update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/502452 Package-Manager: portage-2.2.26 dev-lang/tcc/files/clang.patch| 18 ++ dev-lang/tcc/files/linker.patch | 18 ++ dev-lang/tcc/tcc-0.9.26-r3.ebuild | 72 +++ 3 files changed, 108 insertions(+) diff --git a/dev-lang/tcc/files/clang.patch b/dev-lang/tcc/files/clang.patch new file mode 100644 index 000..8304470 --- /dev/null +++ b/dev-lang/tcc/files/clang.patch @@ -0,0 +1,18 @@ +# Fixes the default linker options for portage +# Upstream commit ba286136bf8e48c71ffd6c2fd9ce97e64a6eeeb1 + +diff --git a/libtcc.c b/libtcc.c +index 127806f..dc78643 100644 +--- a/libtcc.c b/libtcc.c +@@ -1560,6 +1560,10 @@ static int tcc_set_linker(TCCState *s, const char *option) + } else + goto err; + ++} else if (link_option(option, "as-needed", )) { ++ignoring = 1; ++} else if (link_option(option, "O", )) { ++ignoring = 1; + } else if (link_option(option, "rpath=", )) { + s->rpath = copy_linker_arg(p); + } else if (link_option(option, "section-alignment=", )) { diff --git a/dev-lang/tcc/files/linker.patch b/dev-lang/tcc/files/linker.patch new file mode 100644 index 000..01cc723 --- /dev/null +++ b/dev-lang/tcc/files/linker.patch @@ -0,0 +1,18 @@ +# Fix compiling tcc with clang. Upstream commit 73ac39c317a20accaf3b25ba833deee0c2e2849f +# Gentoo bug #502452 +diff --git a/lib/libtcc1.c b/lib/libtcc1.c +index cf9babf..b46fb5d 100644 +--- a/lib/libtcc1.c b/lib/libtcc1.c +@@ -647,6 +647,11 @@ struct __va_list_struct { + char *reg_save_area; + }; + ++#undef __va_start ++#undef __va_arg ++#undef __va_copy ++#undef __va_end ++ + void *__va_start(void *fp) + { + struct __va_list_struct *ap = diff --git a/dev-lang/tcc/tcc-0.9.26-r3.ebuild b/dev-lang/tcc/tcc-0.9.26-r3.ebuild new file mode 100644 index 000..a3b7d56 --- /dev/null +++ b/dev-lang/tcc/tcc-0.9.26-r3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +inherit toolchain-funcs + +DESCRIPTION="A very small C compiler for ix86/amd64" +HOMEPAGE="http://bellard.org/tcc/; +SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" + +DEPEND="dev-lang/perl" # doc generation +# Both tendra and tinycc install /usr/bin/tcc +RDEPEND="!dev-lang/tendra" +IUSE="test" + +src_prepare() { + # Don't strip + sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile || die + + # Fix examples + sed -i -e '1{ + i#! /usr/bin/tcc -run + /^#!/d + }' examples/ex*.c || die + sed -i -e '1s/$/ -lX11/' examples/ex4.c || die + + # Fix texi2html invocation + sed -i -e 's/-number//' Makefile || die + sed -i -e 's/--sections//' Makefile || die + + # Fix compiling tcc with clang + eapply "${FILESDIR}"/clang.patch + + # Allows using tcc as the system compiler for Gentoo + eapply "${FILESDIR}"/linker.patch + + eapply_user +} + +src_configure() { + use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise + # better fixes welcome, it feels wrong to hack the env like this + # not autotools, so call configure directly + ./configure --cc="$(tc-getCC)" \ + --prefix="${EPREFIX}/usr" \ + --libdir="${EPREFIX}/usr/$(get_libdir)" \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc Changelog README TODO VERSION + #dohtml tcc-doc.html + exeinto /usr/share/doc/${PF}/examples + doexe examples/ex*.c +} + +src_test() { + # this is using tcc bits that don't know as-needed etc. + TCCFLAGS="" emake test +}
[gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
commit: 13ae730742810a428c02510c7ae5c237cf06d3a9 Author: Austin English gentoo org> AuthorDate: Thu Jun 2 04:40:20 2016 + Commit: Austin English gentoo org> CommitDate: Thu Jun 2 04:40:20 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ae7307 dev-lang/tcc: set myself as maintainer Package-Manager: portage-2.2.26 dev-lang/tcc/metadata.xml | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-lang/tcc/metadata.xml b/dev-lang/tcc/metadata.xml index 6f49eba..56d7c44 100644 --- a/dev-lang/tcc/metadata.xml +++ b/dev-lang/tcc/metadata.xml @@ -1,5 +1,11 @@ http://www.gentoo.org/dtd/metadata.dtd;> - + +wizarde...@gentoo.org +Austin English + + + Tiny C compiler +