Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Apr 2024 02:07:13 GMT
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cc6cd777dae7 - main - security/pinentry-qt6: Fix configure on 13.2
Message-ID:  <202404210207.43L27DAL095978@gitrepo.freebsd.org>

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

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

commit cc6cd777dae7001e3e3a8c5492a1cbbb7af5d346
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-04-21 01:51:52 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-04-21 02:06:22 +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
---
 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?202404210207.43L27DAL095978>