Void Linux discussion
 help / color / mirror / Atom feed
* [PATCH] xbps-src: Make build style printing more explicit
@ 2023-04-07 11:10 'Quentin Rameau' via voidlinux
  2023-04-07 11:22 ` [PATCHv2] " 'Quentin Rameau' via voidlinux
  0 siblings, 1 reply; 2+ messages in thread
From: 'Quentin Rameau' via voidlinux @ 2023-04-07 11:10 UTC (permalink / raw)
  To: Void Linux

It happens that the way the build style is printed during build
misleads people into thinking this is an actual dependency being built.

Try solving this by being slightly more verbose.
---
 common/xbps-src/shutils/build_dependencies.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/xbps-src/shutils/build_dependencies.sh b/common/xbps-src/shutils/build_dependencies.sh
index 1d19de54ae..02764c3a98 100644
--- a/common/xbps-src/shutils/build_dependencies.sh
+++ b/common/xbps-src/shutils/build_dependencies.sh
@@ -144,6 +144,8 @@ install_pkg_deps() {
         style+=" [$s]"
     done
 
+    [ -n "$style" ] && style="with$style"
+
     if [ "$pkg" != "$targetpkg" ]; then
         msg_normal "$pkgver: building${style} (dependency of $targetpkg) for $XBPS_TARGET_MACHINE...\n"
     else
-- 
2.40.0

-- 
You received this message because you are subscribed to the Google Groups "voidlinux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to voidlinux+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/ZC/6Pr0Br9dHbndx%40fifth.space.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-07 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-07 11:10 [PATCH] xbps-src: Make build style printing more explicit 'Quentin Rameau' via voidlinux
2023-04-07 11:22 ` [PATCHv2] " 'Quentin Rameau' via voidlinux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).