aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2015-05-01 00:53:06 +0800
committertijl <tijl@FreeBSD.org>2015-05-01 00:53:06 +0800
commit65fa2b192965d59198dd497e2092a2d48539c130 (patch)
tree3d9121553421d236878735ba4519e3bb157a9364 /Mk
parentaa15b873d3915d6e01331ef6bd274e828e6b0411 (diff)
downloadfreebsd-ports-gnome-65fa2b192965d59198dd497e2092a2d48539c130.tar.gz
freebsd-ports-gnome-65fa2b192965d59198dd497e2092a2d48539c130.tar.zst
freebsd-ports-gnome-65fa2b192965d59198dd497e2092a2d48539c130.zip
Use base system iconv.h again on FreeBSD stable/10.
Diffstat (limited to '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