aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2016-05-12 13:36:46 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2016-05-12 13:36:46 +0000
commitb7b8a5cfb43d7d0be0fed541d2de3b952905b5f4 (patch)
treebb446e5015bdc9217cc75efe4c05fb51c8100043 /Mk
parent245daa8ec9be16408befe58d41d7592dc9570780 (diff)
downloadports-b7b8a5cfb43d7d0be0fed541d2de3b952905b5f4.tar.gz
ports-b7b8a5cfb43d7d0be0fed541d2de3b952905b5f4.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/iconv.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/Uses/iconv.mk b/Mk/Uses/iconv.mk
index 169890bf13ea..7f808dc30616 100644
--- a/Mk/Uses/iconv.mk
+++ b/Mk/Uses/iconv.mk
@@ -45,12 +45,13 @@ ICONV_LIB_PATH= /usr/lib/libc.so
|| (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100069))) \
|| exists(${LOCALBASE}/include/iconv.h)
BUILD_DEPENDS+= libiconv>=1.14_9:converters/libiconv
+ICONV_INCLUDE_PATH= ${LOCALBASE}/include
+.endif
+
CPPFLAGS+= -DLIBICONV_PLUG
CFLAGS+= -DLIBICONV_PLUG
CXXFLAGS+= -DLIBICONV_PLUG
OBJCFLAGS+= -DLIBICONV_PLUG
-ICONV_INCLUDE_PATH= ${LOCALBASE}/include
-.endif
.endif