[Midnightbsd-cvs] [MidnightBSD/mports] d27a2c: shells/zsh: fix build failing on missing autoheade...
Lucas Holt
noreply at github.com
Mon Sep 21 23:18:54 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: d27a2c60744afef5108b819112e82c822089a28e
https://github.com/MidnightBSD/mports/commit/d27a2c60744afef5108b819112e82c822089a28e
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-21 (Mon, 21 Sep 2026)
Changed paths:
M shells/zsh/Makefile
M shells/zsh/pkg-plist
Log Message:
-----------
shells/zsh: fix build failing on missing autoheader (#1510)
Fixes the Magus build failure at
https://www.midnightbsd.org/magus/ports/2269505:
\`\`\`
cd . && autoheader
/bin/sh: autoheader: not found
\`\`\`
\`post-patch\` runs \`REINPLACE_CMD\` on \`configure\`, which bumps its
mtime past \`stamp-h.in\`. The upstream Makefile has a \`stamp-h.in:
configure\` rule that then runs \`autoheader\`, which is not in the
chroot. Touching \`stamp-h.in\` right after the edit stops the rule from
firing.
Two small pre-existing plist issues on the same port are folded in,
since a clean \`bmake fake\` flagged them:
- remove the \`zsh-mime-setup.bak\` left behind by the port's own
reinplace
- add \`Completion/BSD/_mdo\` (new in 5.9.2) to \`pkg-plist\`
No PORTREVISION bump: Magus has never published a 5.9.2 package (latest
blessed builds are 5.9).
Build-tested locally on MidnightBSD 4.x amd64: \`bmake build\`, clean
\`bmake fake\` (no plist warnings) and \`bmake package\` all pass.
Portlint reports only pre-existing warnings.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by Sourcery
Fix zsh packaging so builds succeed without autoheader and the resulting
package has a clean, complete plist.
Bug Fixes:
- Prevent the zsh build from invoking unavailable autoheader after
configure is patched.
- Remove the backup file generated during MIME setup patching and add
the missing _mdo completion to the package plist.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Fable 5.1 <noreply at anthropic.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