aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2015-04-16 18:57:57 +0800
committertijl <tijl@FreeBSD.org>2015-04-16 18:57:57 +0800
commitc5d97526f2d7c2c9a7823b141bdaab10bc3525d9 (patch)
treee8149c26b764537d0b8ba5ce2824fc3f2864c8b1 /Mk/Uses
parent6d6a76b5d1c3222c6235f539f795e0891004779d (diff)
downloadfreebsd-ports-gnome-c5d97526f2d7c2c9a7823b141bdaab10bc3525d9.tar.gz
freebsd-ports-gnome-c5d97526f2d7c2c9a7823b141bdaab10bc3525d9.tar.zst
freebsd-ports-gnome-c5d97526f2d7c2c9a7823b141bdaab10bc3525d9.zip
Hide _LIBICONV_VERSION when LIBICONV_PLUG is defined.
This fixes building devel/gettext-runtime with gcc from lang/gcc*. With base system compiler gettext includes /usr/include/iconv.h but lang/gcc* implies -I/usr/local/include and gettext calls libiconv_set_relocation_prefix when it sees _LIBICONV_VERSION which isn't implemented (and isn't needed) by libc iconv. Reported by: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/iconv.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/iconv.mk b/Mk/Uses/iconv.mk
index d574f74074c4..a303cabc78d7 100644
--- a/Mk/Uses/iconv.mk
+++ b/Mk/Uses/iconv.mk
@@ -39,7 +39,7 @@ ICONV_CONFIGURE_BASE=
.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} < 1100069) \
|| exists(${LOCALBASE}/include/iconv.h)
-BUILD_DEPENDS+= libiconv>=1.14_7:${PORTSDIR}/converters/libiconv
+BUILD_DEPENDS+= libiconv>=1.14_8:${PORTSDIR}/converters/libiconv
CPPFLAGS+= -DLIBICONV_PLUG
CFLAGS+= -DLIBICONV_PLUG
CXXFLAGS+= -DLIBICONV_PLUG