[Bug 239738] factor out hardcoding of "clangXYZ" in devel/flang-clang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 9 10:40:51 UTC 2019


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

            Bug ID: 239738
           Summary: factor out hardcoding of "clangXYZ" in
                    devel/flang-clang
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jmd at freebsd.org
          Reporter: linimon at FreeBSD.org
          Assignee: jmd at freebsd.org
             Flags: maintainer-feedback?(jmd at freebsd.org)

Created attachment 206390
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206390&action=edit
patch to devel/flang-clang/Makefile

There are a number of places in the ports tree where the string "clang<version"
is called out.  When doing the work to identify stale versions of clang
tree-wide, these instances cause extra work.

Refactor this usage into LLVM_VER.

Note: this refactoring causes portlint to complain but IMHO this complication
is worth tolerating to help ease maintainability.

Tested on: amd64.

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


More information about the freebsd-ports-bugs mailing list