Skip to content

Commit

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

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 23, 2023
1 parent d575f38 commit e324362
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions mail/mmr/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit e324362

Please sign in to comment.