[Bug 250824] databases/postgresql13-server: incorrect checking of llvm versions

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 3 01:39:48 UTC 2020


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

            Bug ID: 250824
           Summary: databases/postgresql13-server: incorrect checking of
                    llvm versions
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pgsql at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
          Assignee: pgsql at FreeBSD.org
             Flags: maintainer-feedback?(pgsql at FreeBSD.org)

The conditions to check LLVM version, e.g.

.if ${COMPILER_VERSION} > ${LLVM_DEFAULT}

and

.  if ${COMPILER_VERSION} <= 11

are not correct, because llvm version is not monotonic (60, 70, 80, 90, 10, 11)

Imo we should rename e.g. llvm10 to llvm100 to fix this properly and not
overcomplicate logic here and in other places.

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


More information about the freebsd-ports-bugs mailing list