[Midnightbsd-cvs] [MidnightBSD/mports] 0d5237: devel/qt5-designer: stop leaving Qt5Designer.pc.ba...

Lucas Holt noreply at github.com
Sat Sep 5 20:04:18 EDT 2026


  Branch: refs/heads/devel/qt5-designer
  Home:   https://github.com/MidnightBSD/mports
  Commit: 0d523789c4efa8de62f209cfdd063c822ed14e81
      https://github.com/MidnightBSD/mports/commit/0d523789c4efa8de62f209cfdd063c822ed14e81
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-05 (Sat, 05 Sep 2026)

  Changed paths:
    M devel/qt5-designer/Makefile

  Log Message:
  -----------
  devel/qt5-designer: stop leaving Qt5Designer.pc.bak in the stage dir

The sweep in 9ebce8a20b only matched the cmake-rewrite line, so it missed
the other staged REINPLACE_CMD in this port's post-install, which fixes up
the generated pkg-config file:

	${REINPLACE_CMD} -e '/^Requires/s/Qt5UiPlugin//' \
		${PREFIX}/libdata/pkgconfig/Qt5Designer.pc

REINPLACE_CMD is `sed -i.bak` and during fake ${PREFIX} already includes
${FAKE_DESTDIR}, so this left a Qt5Designer.pc.bak in the staging
directory and one more missing-from-plist line in `bmake check-fake`.

Use `${SED} -i ''`, as the neighbouring line already does.

Rescanned every qt5 port for REINPLACE_CMD invocations whose target is
under ${PREFIX}, ${FAKE_DESTDIR} or ${STAGEDIR}, joining line
continuations first so multi-line commands are matched.  This was the only
remaining one.  The post-patch REINPLACE_CMD in this port operates on
${WRKSRC} and is left alone; backup files there are normal and are not
staged.

No PORTREVISION bump: the .bak was never in pkg-plist so it was never
packaged, and the package is otherwise unchanged.

Verified on amd64: no .bak anywhere in the stage dir, the Requires line
still has Qt5UiPlugin removed, the resulting Qt5Designer.pc and
Qt5DesignerConfig.cmake are byte-identical to the ones the REINPLACE_CMD
version produced, and check-fake is now completely clean for this port.

AI-Assisted-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
Claude-Session: https://claude.ai/code/session_01RfjmwisLNPFuZeaQCUJn4A
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