git: e324362ea95e - main - mail/mmr: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 16:51:07 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=e324362ea95ed5582a0cdfe4ca0f378c367a80db commit e324362ea95ed5582a0cdfe4ca0f378c367a80db Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 16:36:30 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 16:36:30 +0000 mail/mmr: Fix build with llvm16 - Utilize USES=localbase - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- mail/mmr/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/mail/mmr/Makefile b/mail/mmr/Makefile index ac90c9f2a07f..6f972eb1589c 100644 --- a/mail/mmr/Makefile +++ b/mail/mmr/Makefile @@ -12,19 +12,20 @@ WWW= https://slouken.libsdl.org/projects/mmr/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= iconv ncurses +USES= iconv localbase ncurses +USE_CXXSTD= c++14 + MAKE_ARGS= LIBS='${LIBS}' CXX='${CXX}' CXXFLAGS='${CXXFLAGS}' ALL_TARGET= ${PORTNAME} -PORTDOCS= BUGS CHANGES Features README TODO -PORTEXAMPLES= dot.mmrc.sample -PLIST_FILES= bin/mmr - CXXFLAGS+= -DTHREADMAIL \ -DMAILPATH=\"/var/mail\" \ - -DMAILER=\"/usr/sbin/sendmail\ -t\" \ - -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} -lncurses -lmd + -DMAILER=\"/usr/sbin/sendmail\ -t\" +LIBS+= ${ICONV_LIB} -lncurses -lmd + +PLIST_FILES= bin/mmr +PORTDOCS= BUGS CHANGES Features README TODO +PORTEXAMPLES= dot.mmrc.sample OPTIONS_DEFINE= DOCS EXAMPLES