Skip to content

Commit

Permalink
mail/xmailbox: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Utilize OPTIONSNG

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 25, 2023
1 parent 731968e commit b7f1b70
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mail/xmailbox/Makefile
Expand Up @@ -12,13 +12,21 @@ USE_XORG= xaw

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/XMailbox.ad

post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/dingdong.au ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/ugotmail.au ${STAGEDIR}${DATADIR}

post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/DISCLAIMER ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
Expand Down

0 comments on commit b7f1b70

Please sign in to comment.