aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses/iconv.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/iconv.mk')
-rw-r--r--Mk/Uses/iconv.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/Uses/iconv.mk b/Mk/Uses/iconv.mk
index a303cabc78d7..6e2af9462c1c 100644
--- a/Mk/Uses/iconv.mk
+++ b/Mk/Uses/iconv.mk
@@ -37,7 +37,8 @@ ICONV_PREFIX= /usr
ICONV_CONFIGURE_ARG=
ICONV_CONFIGURE_BASE=
-.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} < 1100069) \
+.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && (${OSVERSION} < 1001514 \
+ || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100069))) \
|| exists(${LOCALBASE}/include/iconv.h)
BUILD_DEPENDS+= libiconv>=1.14_8:${PORTSDIR}/converters/libiconv
CPPFLAGS+= -DLIBICONV_PLUG