aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2013-04-26 20:44:59 +0000
committerMarcus von Appen <mva@FreeBSD.org>2013-04-26 20:44:59 +0000
commit67ef08ef8bb29f462125e48bf8f22d6f516551c2 (patch)
treed27cdff0d227680d343d75197345b90220100457 /Mk
parent9ea410ac09767d3246384ff2cbd82d9d4d705f4e (diff)
downloadports-67ef08ef8bb29f462125e48bf8f22d6f516551c2.tar.gz
ports-67ef08ef8bb29f462125e48bf8f22d6f516551c2.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/iconv.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/Mk/Uses/iconv.mk b/Mk/Uses/iconv.mk
new file mode 100644
index 000000000000..5a325bb1a350
--- /dev/null
+++ b/Mk/Uses/iconv.mk
@@ -0,0 +1,21 @@
+# $FreeBSD$
+#
+# handle dependency on the iconv port
+#
+# MAINTAINER: portmgr@FreeBSD.org
+#
+# Feature: iconv
+# Usage: USES=iconv
+# Valid ARGS: does not require args
+#
+#
+.if !defined(_INCLUDE_USES_ICONV_MK)
+_INCLUDE_USES_ICONV_MK= yes
+
+.if defined(iconv_ARGS)
+IGNORE= USES=iconv does not require args
+.endif
+
+LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
+
+.endif