diff options
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/iconv.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/Uses/iconv.mk b/Mk/Uses/iconv.mk index 2595bf01f0ad..d574f74074c4 100644 --- a/Mk/Uses/iconv.mk +++ b/Mk/Uses/iconv.mk @@ -37,7 +37,9 @@ ICONV_PREFIX= /usr ICONV_CONFIGURE_ARG= ICONV_CONFIGURE_BASE= -.if exists(${LOCALBASE}/include/iconv.h) +.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} < 1100069) \ + || exists(${LOCALBASE}/include/iconv.h) +BUILD_DEPENDS+= libiconv>=1.14_7:${PORTSDIR}/converters/libiconv CPPFLAGS+= -DLIBICONV_PLUG CFLAGS+= -DLIBICONV_PLUG CXXFLAGS+= -DLIBICONV_PLUG |