[Bug 239741] factor out hardcoding of "clangXYZ" in graphics/openshadinglanguage

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 9 10:45:07 UTC 2019


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

            Bug ID: 239741
           Summary: factor out hardcoding of "clangXYZ" in
                    graphics/openshadinglanguage
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: linimon at FreeBSD.org
                CC: FreeBSD at ShaneWare.Biz
             Flags: maintainer-feedback?(FreeBSD at ShaneWare.Biz)
                CC: FreeBSD at ShaneWare.Biz

Created attachment 206393
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206393&action=edit
patch to graphics/openshadinglanguage/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.

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


More information about the freebsd-ports-bugs mailing list