Skip to content

Commit

Permalink
multimedia/naludump: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Utilize USES=localbase
- Pet portclippy

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 5, 2023
1 parent 5e48544 commit 8f3f522
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions multimedia/naludump/Makefile
Expand Up @@ -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:
Expand Down

0 comments on commit 8f3f522

Please sign in to comment.