commit: aac6041b8bab1aff33e29c00e4c9babcf6e7e3f9 Author: Jack Rosenthal <jrosenth <AT> chromium <DOT> org> AuthorDate: Thu Apr 4 17:14:09 2024 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Mon May 27 16:14:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac6041b
sys-apps/i2c-tools: Add 32-bit LFS support The i2c-tools build doesn't natively support 32-bit LFS. Call append-lfs-flags to bring it in. Additionally, it appears the Makefile ignores CPPFLAGS, so hack that into CFLAGS. Signed-off-by: Jack Rosenthal <jrosenth <AT> chromium.org> Closes: https://github.com/gentoo/gentoo/pull/36103 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> .../i2c-tools/{i2c-tools-4.3-r1.ebuild => i2c-tools-4.3-r2.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-apps/i2c-tools/i2c-tools-4.3-r1.ebuild b/sys-apps/i2c-tools/i2c-tools-4.3-r2.ebuild similarity index 92% rename from sys-apps/i2c-tools/i2c-tools-4.3-r1.ebuild rename to sys-apps/i2c-tools/i2c-tools-4.3-r2.ebuild index e0211bd875af..a76b3146c129 100644 --- a/sys-apps/i2c-tools/i2c-tools-4.3-r1.ebuild +++ b/sys-apps/i2c-tools/i2c-tools-4.3-r2.ebuild @@ -36,13 +36,14 @@ src_prepare() { src_configure() { use python && distutils-r1_src_configure + append-lfs-flags export BUILD_DYNAMIC_LIB=1 export USE_STATIC_LIB=0 export BUILD_STATIC_LIB=0 } src_compile() { - emake AR="$(tc-getAR)" CC="$(tc-getCC)" EXTRA="eeprog" + emake AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}" EXTRA="eeprog" if use python ; then cd py-smbus || die
