summaryrefslogtreecommitdiff
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
parentUpdate to r316538 and drop support for 7.x. (diff)
Introduces USES= iconv to replace USE_ICONV.
It takes no arguments. This deprecates USE_ICONV, please convert your ports. USE_ICONV will be removed as soon as it is no more used in the ports tree. Approved by: portmgr (bapt)
Notes
Notes: svn path=/head/; revision=316636
-rw-r--r--CHANGES9
-rw-r--r--Mk/Uses/iconv.mk21
2 files changed, 29 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index e09f2dfd977b..eb2f601aa3a7 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,14 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
+20130426:
+AUTHOR: mva@FreeBSD.org
+
+ * USE_ICONV has been deprecated and converted into the iconv USE
+ feature
+
+ USES= iconv
+
20130425:
AUTHOR: bapt@FreeBSD.org
@@ -28,7 +36,6 @@ AUTHOR: jgh@FreeBSD.org
It deprecates USE_GETTEXT which will be removed as soon as it is not
used anymore
-
20130422:
AUTHOR: bdrewery@FreeBSD.org
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