git: f6b6bc76a236 - main - math/psurface: Fix build by adding USE_CXXSTD

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

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

commit f6b6bc76a236c34b22eb5a99b677b8f44ee1c057
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:43:52 +0000

    math/psurface: Fix build by adding USE_CXXSTD
    
    Reported by:    fallout
---
 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