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.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/Uses/iconv.mk b/Mk/Uses/iconv.mk
index 92ce67d4fa76..1e1a0363d58d 100644
--- a/Mk/Uses/iconv.mk
+++ b/Mk/Uses/iconv.mk
@@ -24,11 +24,11 @@ ICONV_INCLUDE_PATH= ${LOCALBASE}/include
ICONV_LIB_PATH= ${LOCALBASE}/lib/libiconv.so
.if ${iconv_ARGS:Mbuild}
-BUILD_DEPENDS+= ${ICONV_CMD}:converters/libiconv
+BUILD_DEPENDS+= ${ICONV_CMD}:${PORTSDIR}/converters/libiconv
.elif ${iconv_ARGS:Mpatch}
-PATCH_DEPENDS+= ${ICONV_CMD}:converters/libiconv
+PATCH_DEPENDS+= ${ICONV_CMD}:${PORTSDIR}/converters/libiconv
.else
-LIB_DEPENDS+= libiconv.so:converters/libiconv
+LIB_DEPENDS+= libiconv.so:${PORTSDIR}/converters/libiconv
.endif
.else
@@ -44,7 +44,7 @@ ICONV_LIB_PATH= /usr/lib/libc.so
.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && (${OSVERSION} < 1001514 \
|| (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100069))) \
|| exists(${LOCALBASE}/include/iconv.h)
-BUILD_DEPENDS+= libiconv>=1.14_9:converters/libiconv
+BUILD_DEPENDS+= libiconv>=1.14_9:${PORTSDIR}/converters/libiconv
CPPFLAGS+= -DLIBICONV_PLUG
CFLAGS+= -DLIBICONV_PLUG
CXXFLAGS+= -DLIBICONV_PLUG