summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
Diffstat (limited to 'irc')
-rw-r--r--irc/bitchx/Makefile2
-rw-r--r--irc/scrollz/Makefile5
2 files changed, 3 insertions, 4 deletions
diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile
index 45c71ac286d5..ce71b9320344 100644
--- a/irc/bitchx/Makefile
+++ b/irc/bitchx/Makefile
@@ -48,7 +48,7 @@ PLUGIN_LIST= abot acro arcfour autocycle blowfish cavlink cdrom encrypt \
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
diff --git a/irc/scrollz/Makefile b/irc/scrollz/Makefile
index ff31780f816d..ec5c0b7a511a 100644
--- a/irc/scrollz/Makefile
+++ b/irc/scrollz/Makefile
@@ -41,11 +41,10 @@ UTF8_CONFIGURE_ENABLE= utf8
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
-.endif
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
+.endif
.if !empty(ICONV_LIB)
CONFIGURE_ENV+=ac_cv_func_iconv_open=yes