Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 2024 06:04:32 GMT
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: a9ce8e7249a6 - 2024Q2 - security/pinentry-qt6: Fix configure on 13.2
Message-ID:  <202405040604.44464Wou012549@gitrepo.freebsd.org>

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

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

commit a9ce8e7249a687eac971a3597cb184d520b81481
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-04-21 01:51:52 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-05-04 06:02:42 +0000

    security/pinentry-qt6: Fix configure on 13.2
    
    Qt 6.x requires C++17 and the C++ standard is not set for the configure
    script nor for the build. The base compiler on FreeBSD 13.2 defaults to
    C++11, causing the configure script to fail as would the build if it
    made it past the configure stage.
    
    Reported by:    pkg-fallout
    
    (cherry picked from commit cc6cd777dae7001e3e3a8c5492a1cbbb7af5d346)
---
 security/pinentry/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile
index 87217f55c00c..1c36db0fdd9a 100644
--- a/security/pinentry/Makefile
+++ b/security/pinentry/Makefile
@@ -125,6 +125,7 @@ CONFIGURE_ARGS+=--disable-pinentry-qt5
 
 .if ${PINENTRY_GUI} == "qt6"
 USES+=		compiler:c++17-lang kde:6 qt:6
+USE_CXXSTD=	c++17
 USE_KDE=	guiaddons windowsystem
 USE_QT=		base
 PLIST_FILES=	bin/pinentry-qt \



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