[Bug 218856] devel/valgrind devel/valgrind-devel: Properly detect clang 5.0.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Apr 24 19:55:46 UTC 2017


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

            Bug ID: 218856
           Summary: devel/valgrind devel/valgrind-devel: Properly detect
                    clang 5.0.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery at FreeBSD.org
          Reporter: dim at FreeBSD.org
          Assignee: bdrewery at FreeBSD.org
             Flags: maintainer-feedback?(bdrewery at FreeBSD.org)

Created attachment 182055
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182055&action=edit
Fix clang 5 detection for valgrind

I'm doing preliminary tests with clang 5.0.0 in the projects/clang500-import
branch, and it turned out that devel/valgrind and devel/valgrind-devel fail to
detect the version.  This is because of a case statement with:

      clang-2.9|clang-3.*|clang-4.*)

Here's a patch that adds clang-5.* for now (upstream might want to think about
extending this to any correct numerical version).  It also drops the USE_GCC
from the Makefiles, which is apparently something added by Baptiste to support
FreeBSD 8, so it is no longer necessary.

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


More information about the freebsd-ports-bugs mailing list