From e9b6b65e68d0da5877223cea728bb2cd5d3ac358 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Tue, 13 Jun 2023 10:48:02 +0200 Subject: mail/xpbiff: Fix build with llvm15 - Pet portclippy Approved by: portmgr (blanket) --- mail/xpbiff/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mail/xpbiff/Makefile b/mail/xpbiff/Makefile index 0a460bf7228a..55c82719e883 100644 --- a/mail/xpbiff/Makefile +++ b/mail/xpbiff/Makefile @@ -12,9 +12,11 @@ COMMENT?= Replacement for xbiff that handles popup window with mail header USES= imake:noman xorg USE_XORG= xpm xaw xmu -PLIST_FILES= bin/xpbiff + WRKSRC= ${WRKDIR}/xpbiff +PLIST_FILES= bin/xpbiff + .if defined(PREFIX) && ${PREFIX} != ${LOCALBASE} YOUBINBINDIR= ${PREFIX} .else @@ -23,6 +25,10 @@ YOUBINBINDIR= ${LOCALBASE} .include +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + do-extract: @${RM} -r ${WRKDIR} @${MKDIR} ${WRKDIR} -- cgit v1.2.3