git: 1e19f00e5e46 - main - databases/postgresql??-server: Remove restriction on LLVM version

From: Palle Girgensohn <girgen_at_FreeBSD.org>
Date: Mon, 23 May 2022 10:46:45 UTC
The branch main has been updated by girgen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1e19f00e5e469b848aed2853cda3ba2368ceb784

commit 1e19f00e5e469b848aed2853cda3ba2368ceb784
Author:     Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2022-05-20 08:48:16 +0000
Commit:     Palle Girgensohn <girgen@FreeBSD.org>
CommitDate: 2022-05-23 10:46:14 +0000

    databases/postgresql??-server: Remove restriction on LLVM version
    
    PostgreSQL now builds with LLVM version 14. See:
    https://github.com/postgres/postgres/commit/d9f7ad54e552262ee0090e88d5abd3e04fcdeac8
    
    Submitted by: tmunro@
---
 databases/postgresql15-server/Makefile | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/databases/postgresql15-server/Makefile b/databases/postgresql15-server/Makefile
index 7ad83413bbf9..176d1b229192 100644
--- a/databases/postgresql15-server/Makefile
+++ b/databases/postgresql15-server/Makefile
@@ -250,26 +250,15 @@ LLVM_PORT_SUFFIX=	${COMPILER_VERSION:C/.$//}
 .if ${COMPILER_VERSION} > ${LLVM_DEFAULT_VERSION}
 # LLVM versions in ports are, in order, 70, 80 90, 10, 11, 12... where 10 > 90. [sic]
 .  if ${LLVM_PORT_SUFFIX} < 70
-#    PR 261976 postgresql fails to build with LLVM 14
-.    if ${LLVM_PORT_SUFFIX} > 13
-PG_LLVM_VERSION=13
-PG_COMPILER_VERSION=13
-.    else
 PG_LLVM_VERSION=${LLVM_PORT_SUFFIX}
 PG_COMPILER_VERSION=${LLVM_PORT_SUFFIX}
-.    endif
 .  else
 PG_LLVM_VERSION=11
 PG_COMPILER_VERSION=11
 .  endif
 .else
-.  if ${LLVM_PORT_SUFFIX} > 13
-PG_LLVM_VERSION=13
-PG_COMPILER_VERSION=13
-.  else
 PG_LLVM_VERSION=${LLVM_DEFAULT}
 PG_COMPILER_VERSION=${LLVM_PORT_SUFFIX}
-.  endif
 .endif
 
 .if ${DISTVERSION:C/([0-9]*).*/\1/} >= 11