aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-13 08:48:02 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-13 10:06:14 +0000
commite9b6b65e68d0da5877223cea728bb2cd5d3ac358 (patch)
tree3d45cfcab3e6a574b48856171e0d5cedc5110010
parentd41c16726cad652cc56320caef4216413abf08e7 (diff)
downloadports-e9b6b65e68d0da5877223cea728bb2cd5d3ac358.tar.gz
ports-e9b6b65e68d0da5877223cea728bb2cd5d3ac358.zip
mail/xpbiff: Fix build with llvm15
- Pet portclippy Approved by: portmgr (blanket)
-rw-r--r--mail/xpbiff/Makefile8
1 files changed, 7 insertions, 1 deletions
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 <bsd.port.pre.mk>
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
do-extract:
@${RM} -r ${WRKDIR}
@${MKDIR} ${WRKDIR}