git: 8f3f52224f8f - main - multimedia/naludump: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Aug 2023 14:46:44 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=8f3f52224f8f491e627b643d098caa0549ca09ef commit 8f3f52224f8f491e627b643d098caa0549ca09ef Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-05 13:35:27 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-05 14:46:34 +0000 multimedia/naludump: Fix build with llvm16 - Utilize USES=localbase - Pet portclippy Sponsored by: The FreeBSD Foundation --- multimedia/naludump/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/multimedia/naludump/Makefile b/multimedia/naludump/Makefile index 2e8e31c3e596..9c38f5989075 100644 --- a/multimedia/naludump/Makefile +++ b/multimedia/naludump/Makefile @@ -10,13 +10,15 @@ WWW= https://www.udo-richter.de/vdr/naludump.en.html LICENSE= GPLv2 -USES= alias gmake iconv:wchar_t tar:tgz +USES= alias gmake iconv:wchar_t localbase tar:tgz +USE_CXXSTD= c++14 + +MAKE_ARGS+= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" + +CFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} + PATCH_STRIP= -p1 -CFLAGS+= "-I${LOCALBASE}/include" -CFLAGS+= "-L${LOCALBASE}/lib" -CFLAGS+= ${ICONV_LIB} -MAKE_ARGS+= CC="${CC}" CXX="${CXX}" -MAKE_ARGS+= CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" + PLIST_FILES+= bin/${PORTNAME} do-install: