commit:     0f77b26bc3f54e275519eee211e95682324838a7
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 27 08:54:33 2026 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Jan 27 08:56:23 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f77b26b

sys-apps/syd: Fix static build

Revert changes that don't work properly

Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>

 sys-apps/syd/{syd-3.48.7.ebuild => syd-3.48.7-r1.ebuild} | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/sys-apps/syd/syd-3.48.7.ebuild b/sys-apps/syd/syd-3.48.7-r1.ebuild
similarity index 96%
rename from sys-apps/syd/syd-3.48.7.ebuild
rename to sys-apps/syd/syd-3.48.7-r1.ebuild
index b7a431aa39d5..064a79beabb2 100644
--- a/sys-apps/syd/syd-3.48.7.ebuild
+++ b/sys-apps/syd/syd-3.48.7-r1.ebuild
@@ -337,14 +337,15 @@ RDEPEND="sys-apps/pandora_box
 S="${WORKDIR}/syd-v${PV}"
 
 src_configure() {
-       local myfeatures=( "oci" )
-       if  use static; then
-               export RUSTFLAGS+="-Ctarget-feature=+crt-static 
--target=$(rustc --print=host-tuple)"
-               export LIBSECCOMP_LINK_TYPE="static"
-               export LIBSECCOMP_LIB_PATH=$(pkgconf --variable=libdir 
libseccomp)
+       if use static; then
+               export LIBSECCOMP_LINK_TYPE="static"
+               export LIBSECCOMP_LIB_PATH=$(pkgconf --variable=libdir 
libseccomp)
+               export RUSTFLAGS+="-Ctarget-feature=+crt-static"
+               cargo_src_configure
+       else
+               local myfeatures=( "oci" )
+               cargo_src_configure
        fi
-       cargo_src_configure
-
 }
 
 src_compile() {

Reply via email to