[Midnightbsd-cvs] [MidnightBSD/mports] f2d192: multimedia/libmtp: fix build on MidnightBSD
Lucas Holt
noreply at github.com
Wed May 20 11:02:02 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: f2d192e2ad89a28d9f23e1d76738a3b1ac256e24
https://github.com/MidnightBSD/mports/commit/f2d192e2ad89a28d9f23e1d76738a3b1ac256e24
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-20 (Wed, 20 May 2026)
Changed paths:
M multimedia/libmtp/Makefile
M multimedia/libmtp/files/patch-src_libusb1-glue.c
Log Message:
-----------
multimedia/libmtp: fix build on MidnightBSD
Use GNU make so configure can bootstrap dependency tracking correctly. Also use the older libusb_set_debug API instead of libusb_set_option, which is unavailable with the libusb version in the build environment.
AI-Assisted-by: OpenAI Codex <noreply at openai.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Commit: e4ad03ef77f6966acec8e1f4d8d4ac6b45e8b62a
https://github.com/MidnightBSD/mports/commit/e4ad03ef77f6966acec8e1f4d8d4ac6b45e8b62a
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-20 (Wed, 20 May 2026)
Changed paths:
M Mk/extensions/go.mk
Log Message:
-----------
go.mk: fix doubled FAKE_DESTDIR in do-install for relative targets
During fake install, PREFIX is already set to ${FAKE_DESTDIR}${TRUE_PREFIX}
by FAKE_SETUP, while STAGEDIR is also set to ${FAKE_DESTDIR}. Using
${STAGEDIR}${PREFIX} in the relative-path case therefore doubled the
FAKE_DESTDIR prefix, causing install to fail with a path that did not exist.
Fix by removing the redundant ${STAGEDIR} prefix from the '*' case; PREFIX
already contains the correct staging path during fake and the correct
install path during a direct install.
AI-Assisted-by: Claude Sonnet 4.6 <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Compare: https://github.com/MidnightBSD/mports/compare/15b00662bac2...e4ad03ef77f6
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