[Bug 289296] [NEW PORT] devel/spack: Flexible package manager for HPC

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Dec 2025 14:44:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289296

Generic Rikka <rikka.goering@outlook.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #263482|0                           |1
        is obsolete|                            |
 Attachment #265957|                            |maintainer-approval+
              Flags|                            |

--- Comment #1 from Generic Rikka <rikka.goering@outlook.de> ---
Created attachment 265957
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265957&action=edit
v2: devel/spack – fix shebangs and pkg-message PREFIX handling

Updated patch attached (v2).

This version addresses issues found by stage-qa and portlint:

- Added share/spack/bin/spack-tmpconfig to SHEBANG_FILES so that
USES=shebangfix
  can rewrite its /bin/bash shebang appropriately.
- Converted pkg-message to use PREFIX substitution via SUB_FILES=pkg-message
and
  %%PREFIX%% tokens instead of hardcoding /usr/local.
- Cleaned up pkg-descr and pkg-message to remove trailing blank lines, matching
  portlint’s recommendations.

No functional changes to the installed Spack layout or wrapper logic; this is
purely QA/ports framework polish on top of the original submission.

Re-ran QA after these adjustments:

 - make stage-qa [ok]
 - make check-plist [ok]
 - portfmt -D Makefile [ok]
 - portlint -AC [ok]
 - portclippy Makefile [ok]
 - poudriere testport [ok]

Spack still builds, packages, and passes the runtime smoke tests described in
the original comment (`spack --version`, `spack spec zlib`, `spack install
zlib`).

-- 
You are receiving this mail because:
You are the assignee for the bug.