diff options
Diffstat (limited to 'x11-misc/xbatt')
-rw-r--r-- | x11-misc/xbatt/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/xbatt/xbatt-1.3_rc1.ebuild | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/x11-misc/xbatt/Manifest b/x11-misc/xbatt/Manifest index c02d08506dd1..d85c42b7b7c8 100644 --- a/x11-misc/xbatt/Manifest +++ b/x11-misc/xbatt/Manifest @@ -1,4 +1,4 @@ AUX xbatt-1.2.1-implicits.patch 301 BLAKE2B 9e7a8b0f2a88ed56857a9f2836f4ac2b916323625e748f6d980d334dd958e6c0c8b442103af5312b1176d386c802d524c1e1b5f0012a18acfc73eb163c247e7f SHA512 defdd56e8a52147afc3f924a1e462bdce4c6200a7300f442a46cc1a4eaaa7ffdc0e52c70683f23774e20e6480c91e094db4f834073c71b1c30a3f4d24c145353 DIST xbatt-1.3pr1.tar.gz 14412 BLAKE2B 7dc44305ac966c41cee8e62a8bcaa0ea991b13b3f126d09c5e80e60bfd4d2becbf57a657d41ee0db36c8a5d9a0366e255c5c893895fd253eb39dcd60a9227b51 SHA512 f6022a2d464e22a31c8246f20c4dcab2be381ec63a02fb9ac1d3e28dc9bdf26a949735b2eba800941f5dfde371913ea7a560413191197c44a0c156a58a60d41d -EBUILD xbatt-1.3_rc1.ebuild 861 BLAKE2B 41fce4ef7cd38f4861736e812f8a04588e2df60ed33c708c8dacee05edef4e30f18d95bf25cb476007576b064aa6096d873705dae1ce22d34489e3233ba62a7d SHA512 8fc04e1f7fee3ff633e7c673d8ca2d219702549cdb4073c16b6d3e1cc7b5f72f43032b1b84c0b881a6179bf6cae0750afdc063abc497d902ace1a796d3581976 +EBUILD xbatt-1.3_rc1.ebuild 971 BLAKE2B 0830f168c87812327d0d12b3f22b8381ecf192787f77bb7202138eea3c70fcde6030d71dd2610c34cade381f5d9478c3420a6876219f28778856ccfb1b0292f9 SHA512 2da6924c5d0f0b27641dfd29e41ba94d05bd02f77f4e80c57618b9313bf0322b5d6b9ea9fcca6e1a7ae823bf037c714b0df5a57985847e46a8141a4c25c44472 MISC metadata.xml 318 BLAKE2B e2fde4c35c72439790ea9e4c0e403f1a0666a7ebc8e9f350b29138d01c171765fac8cd6adee54667bbc19921e6fc976a427c3429464769a02d9e8dc8c83a8925 SHA512 7d56445a5c7fffdc1104633cdd30eafa17588079b8a1f4cb226984b1aad4e41fe84320608681143dc01c5f1ac5f104cf0717e8183164031644220f9c61086a3b diff --git a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild index 75a3899848d4..df26d01cbd2c 100644 --- a/x11-misc/xbatt/xbatt-1.3_rc1.ebuild +++ b/x11-misc/xbatt/xbatt-1.3_rc1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -24,15 +24,19 @@ RDEPEND=" DEPEND=" ${RDEPEND} x11-base/xorg-proto - x11-misc/imake + >=x11-misc/imake-1.0.8-r1 " PATCHES=( "${FILESDIR}"/${PN}-1.2.1-implicits.patch ) S="${WORKDIR}"/${PN}-$(ver_cut 1-2) +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die +} + src_compile() { - xmkmf || die emake \ CC="$(tc-getCC)" \ CDEBUGFLAGS="${CFLAGS}" \ |