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

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

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz 2025-05-06 17:54:13 -04:00
parent 4222bc7e99
commit 4a780646df
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57

View File

@ -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