diff options
| author | Sam James <sam@gentoo.org> | 2026-05-02 02:36:26 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2026-05-02 02:36:26 +0100 |
| commit | aa9ec3592882b3ad07fa709ab5b8fbd828a6e0ac (patch) | |
| tree | 68e223c7570cf3feff63da8b3048657192dbf362 /dev-debug | |
| parent | a6a8b70975d20010ccba1a589f6cc6015900c178 (diff) | |
dev-debug/strace: fix dependencies
In d282cbd0c58928955c374d267cfc77854aa28b05, I added ncurses w/o :=
but there was also a subslot dep missing on libunwind, plus wrong DEPEND
for non-static builds.
Fixes: d282cbd0c58928955c374d267cfc77854aa28b05
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-debug')
| -rw-r--r-- | dev-debug/strace/strace-7.0-r1.ebuild (renamed from dev-debug/strace/strace-7.0.ebuild) | 15 | ||||
| -rw-r--r-- | dev-debug/strace/strace-9999.ebuild | 15 |
2 files changed, 22 insertions, 8 deletions
diff --git a/dev-debug/strace/strace-7.0.ebuild b/dev-debug/strace/strace-7.0-r1.ebuild index 9fad6eb00c6a..81359e48de5f 100644 --- a/dev-debug/strace/strace-7.0.ebuild +++ b/dev-debug/strace/strace-7.0-r1.ebuild @@ -31,19 +31,26 @@ BDEPEND=" virtual/pkgconfig verify-sig? ( >=sec-keys/openpgp-keys-strace-20251130 ) " -LIB_DEPEND=" - unwind? ( sys-libs/libunwind[static-libs(+)] ) +STATIC_DEPEND=" elfutils? ( dev-libs/elfutils[static-libs(+)] ) ncurses? ( sys-libs/ncurses[static-libs(+)] ) selinux? ( sys-libs/libselinux[static-libs(+)] ) + unwind? ( sys-libs/libunwind[static-libs(+)] ) +" +LIB_DEPEND=" + elfutils? ( dev-libs/elfutils ) + ncurses? ( sys-libs/ncurses:= ) + selinux? ( sys-libs/libselinux ) + unwind? ( sys-libs/libunwind:= ) " # strace only uses the header from libaio to decode structs DEPEND=" - static? ( ${LIB_DEPEND} ) + static? ( ${STATIC_DEPEND} ) + !static? ( ${LIB_DEPEND} ) aio? ( >=dev-libs/libaio-0.3.106 ) " RDEPEND=" - !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) + !static? ( ${LIB_DEPEND} ) perl? ( dev-lang/perl ) " diff --git a/dev-debug/strace/strace-9999.ebuild b/dev-debug/strace/strace-9999.ebuild index 9fad6eb00c6a..81359e48de5f 100644 --- a/dev-debug/strace/strace-9999.ebuild +++ b/dev-debug/strace/strace-9999.ebuild @@ -31,19 +31,26 @@ BDEPEND=" virtual/pkgconfig verify-sig? ( >=sec-keys/openpgp-keys-strace-20251130 ) " -LIB_DEPEND=" - unwind? ( sys-libs/libunwind[static-libs(+)] ) +STATIC_DEPEND=" elfutils? ( dev-libs/elfutils[static-libs(+)] ) ncurses? ( sys-libs/ncurses[static-libs(+)] ) selinux? ( sys-libs/libselinux[static-libs(+)] ) + unwind? ( sys-libs/libunwind[static-libs(+)] ) +" +LIB_DEPEND=" + elfutils? ( dev-libs/elfutils ) + ncurses? ( sys-libs/ncurses:= ) + selinux? ( sys-libs/libselinux ) + unwind? ( sys-libs/libunwind:= ) " # strace only uses the header from libaio to decode structs DEPEND=" - static? ( ${LIB_DEPEND} ) + static? ( ${STATIC_DEPEND} ) + !static? ( ${LIB_DEPEND} ) aio? ( >=dev-libs/libaio-0.3.106 ) " RDEPEND=" - !static? ( ${LIB_DEPEND//\[static-libs(+)]} ) + !static? ( ${LIB_DEPEND} ) perl? ( dev-lang/perl ) " |
