Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2023 18:53:53 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fecf23dd721a - main - www/tntnet: Fix build with llvm16
Message-ID:  <202308021853.372IrrmD084486@gitrepo.freebsd.org>

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

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

commit fecf23dd721ae0274a70ed1cff9b73145f5eb61c
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-02 17:10:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-02 18:53:43 +0000

    www/tntnet: Fix build with llvm16
    
    - Utilize USES=localbase
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 www/tntnet/Makefile | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/www/tntnet/Makefile b/www/tntnet/Makefile
index ef903d7a72a9..f1b64ebf9296 100644
--- a/www/tntnet/Makefile
+++ b/www/tntnet/Makefile
@@ -8,18 +8,21 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Webapplicationserver for C++
 WWW=		https://www.tntnet.org/index.html
 
-LIB_DEPENDS=	libcxxtools.so:devel/cxxtools
 BUILD_DEPENDS=	zip:archivers/zip
+LIB_DEPENDS=	libcxxtools.so:devel/cxxtools
+
+USES=		cpe iconv libtool localbase:ldflags pathfix pkgconfig \
+		shebangfix
+USE_CXXSTD=	c++14
 
-USES=		cpe iconv libtool pathfix pkgconfig shebangfix
 SHEBANG_FILES=	tntnet-conf2xml.pl
-USE_CSTD=	gnu89
-PATCH_STRIP=	-p1
+#USE_CSTD=	gnu89
+
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--localstatedir=/var
 
+PATCH_STRIP=	-p1
+
 .if defined(WITH_GNUTLS)
 CONFIGURE_ARGS+=	--with-ssl=gnutls
 LIB_DEPENDS+=	libgnutls.so:security/gnutls



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