git: fecf23dd721a - main - www/tntnet: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Aug 2023 18:53:53 UTC
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