[Midnightbsd-cvs] [MidnightBSD/mports] 987a42: x11/xdg-desktop-portal-luminous: fix binary path f...

Lucas Holt noreply at github.com
Mon Jun 22 09:51:16 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 987a4209452c4001f974171b889871195615dfa7
      https://github.com/MidnightBSD/mports/commit/987a4209452c4001f974171b889871195615dfa7
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-06-22 (Mon, 22 Jun 2026)

  Changed paths:
    M x11/xdg-desktop-portal-luminous/Makefile

  Log Message:
  -----------
  x11/xdg-desktop-portal-luminous: fix binary path for cross-target builds

When cargo builds with CARGO_BUILD_TARGET set (e.g. i686-unknown-freebsd
for i386), it places the output binary in target/<triple>/release/ rather
than target/release/. The meson.build cp command was looking in the flat
target/release/ path and failing with "No such file or directory" even
though the Rust compilation itself succeeded.

Add a third sed expression in post-patch to insert the CARGO_BUILD_TARGET
triple between 'target' and 'release' in the meson.build copy command,
so the path resolves correctly for all supported architectures.

AI-Assisted-by: Claude Sonnet 4.6 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list