git: f99c6adac265 - 2023Q3 - math/psurface: Fix build by adding USE_CXXSTD

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 20:44:16 UTC
The branch 2023Q3 has been updated by yuri:

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

commit f99c6adac26564721975e76ba72943469918e1ab
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-09 20:43:15 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-09 20:44:12 +0000

    math/psurface: Fix build by adding USE_CXXSTD
    
    Reported by:    fallout
    
    (cherry picked from commit f6b6bc76a236c34b22eb5a99b677b8f44ee1c057)
---
 math/psurface/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/math/psurface/Makefile b/math/psurface/Makefile
index 1afbc41670de..f4a0c0c6d56e 100644
--- a/math/psurface/Makefile
+++ b/math/psurface/Makefile
@@ -13,6 +13,7 @@ LICENSE=	GPLv3+
 LIB_DEPENDS=	libhdf5.so:science/hdf5
 
 USES=		autoreconf libtool localbase
+USE_CXXSTD=	c++14 # fix compilation failure on 14 due to use of std::auto_ptr that was deprecated in C++17
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes