commit:     4a780646df1bb8cdf7a8ba484c8c60221c727326
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue May  6 21:54:13 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Wed May  7 05:41:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a780646

app-admin/syslog-ng: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 app-admin/syslog-ng/syslog-ng-4.8.1-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-admin/syslog-ng/syslog-ng-4.8.1-r1.ebuild 
b/app-admin/syslog-ng/syslog-ng-4.8.1-r1.ebuild
index ccd1c3c4d539..31dae9c40825 100644
--- a/app-admin/syslog-ng/syslog-ng-4.8.1-r1.ebuild
+++ b/app-admin/syslog-ng/syslog-ng-4.8.1-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..13} )
-inherit autotools python-single-r1 systemd
+inherit autotools dot-a python-single-r1 systemd
 
 DESCRIPTION="syslog replacement with advanced filtering features"
 HOMEPAGE="https://www.syslog-ng.com/products/open-source-log-management/";
@@ -114,6 +114,8 @@ src_prepare() {
 }
 
 src_configure() {
+       lto-guarantee-fat
+
        # Needs bison/flex.
        unset YACC LEX
 
@@ -161,6 +163,8 @@ src_configure() {
 src_install() {
        default
 
+       strip-lto-bytecode
+
        # Install default configuration
        insinto /etc/default
        doins contrib/systemd/syslog-ng@default

Reply via email to