Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2023 17:29:58 GMT
From:      Rainer Hurling <rhurlin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 9fd0967d15db - 2023Q2 - graphics/qgis-ltr: Update to 3.28.7
Message-ID:  <202305291729.34THTwuC070234@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2023Q2 has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9fd0967d15db24de3e8acf785bc4eca92a9098c8

commit 9fd0967d15db24de3e8acf785bc4eca92a9098c8
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-05-29 17:23:15 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-05-29 17:29:20 +0000

    graphics/qgis-ltr: Update to 3.28.7
    
    Bugfix release. While here, also fix cmake configure:
    If PostgreSQL server and client are present, the 'About' dialog
    does not show the PostgreSQL version any more
    
    Changelog: https://github.com/qgis/QGIS/compare/final-3_28_6%5E...final-3_28_7
    
    Reported by:    portscout, Repology
    MFH:            2023Q2
    
    (cherry picked from commit ae62aad22ef4c3b63a718533cdee568f36fc4851)
---
 graphics/qgis-ltr/Makefile | 8 +++++++-
 graphics/qgis-ltr/distinfo | 6 +++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/graphics/qgis-ltr/Makefile b/graphics/qgis-ltr/Makefile
index 10162151599b..88ac66aed3e4 100644
--- a/graphics/qgis-ltr/Makefile
+++ b/graphics/qgis-ltr/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	qgis
-DISTVERSION=	3.28.6
+DISTVERSION=	3.28.7
 CATEGORIES=	graphics geography
 MASTER_SITES=	https://qgis.org/downloads/
 PKGNAMESUFFIX=	-ltr
@@ -118,6 +118,7 @@ USE_QT=		3d buildtools:build core concurrent dbus declarative \
 SHEBANG_FILES=	src/plugins/grass/scripts/*.py
 
 CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE:STRING=Release \
+		-DHAVE_PGCONFIG=1 \
 		-DLazPerf_INCLUDE_DIR:PATH=${LOCALBASE}/include/lazperf \
 		-DWITH_INTERNAL_MDAL:BOOL=false \
 		-DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \
@@ -162,6 +163,11 @@ BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:textproc/flex
 CMAKE_ARGS+=	-DFLEX_EXECUTABLE:FILEPATH=${LOCALBASE}/bin/flex
 .endif
 
+pre-patch:
+	# Only PostgreSQL Client headers, not Server
+	@${REINPLACE_CMD} -e 's|set(POSTGRES_INCLUDE_DIR \$${PostgreSQL_INCLUDE_DIRS})|set(POSTGRES_INCLUDE ${LOCALBASE}/include)|g' \
+		${WRKSRC}/cmake/FindPostgres.cmake
+
 post-patch:
 # On i386, '-mllvm -inline-threshold=128' does not build under all circumstances
 # See bugs 242557 and 241687.
diff --git a/graphics/qgis-ltr/distinfo b/graphics/qgis-ltr/distinfo
index f79b3fbf1e6b..19a7a14dd2c7 100644
--- a/graphics/qgis-ltr/distinfo
+++ b/graphics/qgis-ltr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682860919
-SHA256 (qgis-3.28.6.tar.bz2) = 2dfacce09f59e6c8cac621dee94bba4c20aa303ca1a204ee70bbddd7c2a301e0
-SIZE (qgis-3.28.6.tar.bz2) = 158638644
+TIMESTAMP = 1685370449
+SHA256 (qgis-3.28.7.tar.bz2) = 6798c941745f233112d2e93cb531d9a5fc750812d1a6facaa6d0457cf32bf4fa
+SIZE (qgis-3.28.7.tar.bz2) = 159079126



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305291729.34THTwuC070234>