[Bug 238603] devel/llvm80 not PREFIX-safe

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 16 10:14:39 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238603

            Bug ID: 238603
           Summary: devel/llvm80 not PREFIX-safe
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks at FreeBSD.org
          Reporter: mi at FreeBSD.org
          Assignee: brooks at FreeBSD.org
             Flags: maintainer-feedback?(brooks at FreeBSD.org)

Created attachment 205113
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205113&action=edit
Replace /usr/local with ${PREFIX}

On a system with PREFIX being something other than /usr/local, the post-install
target fails to remove the
${STAGEDIR}/usr/local/llvm80/include/llvm/TextAPI/MachO ...

The trivial fix is attached, however, I'd suggest using "${RM} -r" instead of
${RMDIR}" because the latter will gratuitously fail upon a rerun of the
staging.

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


More information about the freebsd-ports-bugs mailing list