summaryrefslogtreecommitdiff
path: root/astro/foxtrotgps
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-05 14:54:57 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-05 16:23:44 +0200
commit1045cc9d88ab265071d70b86260ba7462a3079ee (patch)
treebe2ff2119cb8327f6ff2949a2b2dda34f2881aa3 /astro/foxtrotgps
parentnet-mgmt/bgpq4: Update version 1.9=>1.10 (diff)
astro/foxtrotgps: Fix build with llvm15
Approved by: portmgr (blanket)
Diffstat (limited to 'astro/foxtrotgps')
-rw-r--r--astro/foxtrotgps/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/astro/foxtrotgps/Makefile b/astro/foxtrotgps/Makefile
index 0d92867d44fe..21b3a0d89fec 100644
--- a/astro/foxtrotgps/Makefile
+++ b/astro/foxtrotgps/Makefile
@@ -36,4 +36,10 @@ CONFIGURE_ENV= DATADIRNAME=share
INFO= foxtrotgps
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>