git: d994be1167eb - main - devel/lutok: fix build with clang 16

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 07 May 2023 18:39:41 UTC
The branch main has been updated by dim:

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

commit d994be1167ebf8a892784294af368ba14053150f
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-04-24 20:21:46 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-05-07 18:38:48 +0000

    devel/lutok: fix build with clang 16
    
    Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
    Because devel/lutok's Makefile does not explicitly set its C++ standard,
    this leads to an error:
    
      In file included from operations.cpp:35:
      ./stack_cleaner.hpp:75:10: error: no template named 'auto_ptr' in namespace 'std'
          std::auto_ptr< impl > _pimpl;
          ~~~~~^
    
    Add USE_CXXSTD=gnu++98 to avoid the error. While here, pet portlint.
    
    PR:             271053
    Approved by:    maintainer timeout (2 weeks)
    MFH:            2023Q2
---
 devel/lutok/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/lutok/Makefile b/devel/lutok/Makefile
index 80a482616104..597d59657153 100644
--- a/devel/lutok/Makefile
+++ b/devel/lutok/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	lutok
 PORTVERSION=	0.4
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/jmmv/lutok/releases/download/${PORTNAME}-${PORTVERSION}/ \
 		LOCAL/jmmv
@@ -13,8 +13,9 @@ LICENSE=	BSD3CLAUSE
 
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
-USE_LDCONFIG=	yes
 USES=		libtool lua pkgconfig
+USE_CXXSTD=	gnu++11
+USE_LDCONFIG=	yes
 
 OPTIONS_DEFINE=	DOCS EXAMPLES TEST
 OPTIONS_DEFAULT=TEST