From 6c51c4a241b48ef87210672825c91849b0da9556 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 3 Oct 2024 12:06:59 +0200 Subject: www-apps/sblg: respect LDFLAGS and don't call CC and AR directly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/940686 Signed-off-by: Wolfgang Müller --- www-apps/sblg/sblg-0.5.12.ebuild | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'www-apps') diff --git a/www-apps/sblg/sblg-0.5.12.ebuild b/www-apps/sblg/sblg-0.5.12.ebuild index 8fd2c5f8f..4d3f3300b 100644 --- a/www-apps/sblg/sblg-0.5.12.ebuild +++ b/www-apps/sblg/sblg-0.5.12.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit toolchain-funcs + DESCRIPTION="A utility for creating static blogs" HOMEPAGE="https://kristaps.bsd.lv/sblg/" SRC_URI="https://kristaps.bsd.lv/sblg/snapshots/${P}.tar.gz" @@ -16,7 +18,15 @@ DEPEND="dev-libs/expat" RDEPEND="${DEPEND}" src_configure() { - ./configure PREFIX="${EPREFIX}/usr" MANDIR="${EPREFIX}/usr/share/man" + tc-export CC AR + + ./configure \ + PREFIX="${EPREFIX}/usr" \ + MANDIR="${EPREFIX}/usr/share/man" \ + LDFLAGS="${LDFLAGS}" \ + CPPFLAGS="${CPPFLAGS}" \ + LIBDIR="/usr/$(get_libdir)" \ + || die "./configure failed" } src_install() { -- cgit v1.2.3-65-gdbad