aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Müller <wolf@oriole.systems>2024-10-03 12:06:59 +0200
committerWolfgang Müller <wolf@oriole.systems>2024-10-03 12:06:59 +0200
commit6c51c4a241b48ef87210672825c91849b0da9556 (patch)
treeb102be6c5879cb4b0ac4a1fcae042dfae4ac60f0 /www-apps
parentapp-misc/blahaj: add missing deps (diff)
downloadguru-6c51c4a241b48ef87210672825c91849b0da9556.tar.gz
guru-6c51c4a241b48ef87210672825c91849b0da9556.tar.bz2
guru-6c51c4a241b48ef87210672825c91849b0da9556.zip
www-apps/sblg: respect LDFLAGS and don't call CC and AR directly
Closes: https://bugs.gentoo.org/940686 Signed-off-by: Wolfgang Müller <wolf@oriole.systems>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/sblg/sblg-0.5.12.ebuild12
1 files changed, 11 insertions, 1 deletions
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() {