commit:     ed31a875fcede5cca063e12b08246c95b50daea6
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu May 23 00:12:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 23 01:35:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed31a875

sys-apps/pick: simplify handling of nonstandard configure script

It suffices to export CC before running configure, as it's mainly just
there to produce a Makefile.inc that overrides CC and suchlike. Allows
dropping a phase definition entirely.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/pick/pick-4.0.0.ebuild | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sys-apps/pick/pick-4.0.0.ebuild b/sys-apps/pick/pick-4.0.0.ebuild
index 180a03315b3f..267844d7506b 100644
--- a/sys-apps/pick/pick-4.0.0.ebuild
+++ b/sys-apps/pick/pick-4.0.0.ebuild
@@ -34,13 +34,10 @@ QA_CONFIG_IMPL_DECL_SKIP+=(
 
 src_configure() {
        # not autoconf
+       tc-export CC
        ./configure || die
 }
 
-src_compile() {
-       emake CC="$(tc-getCC)"
-}
-
 src_install() {
        emake DESTDIR="${ED}" BINDIR=/usr/bin MANDIR=/usr/share/man install
        dodoc CHANGELOG.md

Reply via email to