[Midnightbsd-cvs] [MidnightBSD/mports] 9f0a2a: cad/stepcode: fix STAGEDIR path doubling in post-i...

Lucas Holt noreply at github.com
Sun May 24 11:50:25 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 9f0a2ae4e6700cf7244bb9779ea495aef1be8d0b
      https://github.com/MidnightBSD/mports/commit/9f0a2ae4e6700cf7244bb9779ea495aef1be8d0b
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-24 (Sun, 24 May 2026)

  Changed paths:
    M cad/stepcode/Makefile

  Log Message:
  -----------
  cad/stepcode: fix STAGEDIR path doubling in post-install (#573)

## Summary
- Replace `${STAGEDIR}${PREFIX}` with `${PREFIX}` in `post-install` for
both the `strip` call and the `cd`/`find` pipeline

## Root cause
During `bmake fake`, `${PREFIX}` already expands to
`${FAKE_DESTDIR}${TRUE_PREFIX}` (i.e. it includes the staging
directory). Using `${STAGEDIR}${PREFIX}` therefore doubled the staging
prefix, causing `strip` to target a non-existent path and `find` to `cd`
into a non-existent directory.

## Test plan
- [x] `bmake fake` — strip and find complete successfully, fake passes
- [x] `bmake package` — package created successfully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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