svn commit: r316636 - in head: . Mk/Uses

Marcus von Appen mva at FreeBSD.org
Fri Apr 26 20:45:00 UTC 2013


Author: mva
Date: Fri Apr 26 20:44:59 2013
New Revision: 316636
URL: http://svnweb.freebsd.org/changeset/ports/316636

Log:
  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)

Added:
  head/Mk/Uses/iconv.mk   (contents, props changed)
Modified:
  head/CHANGES

Modified: head/CHANGES
==============================================================================
--- head/CHANGES	Fri Apr 26 20:25:39 2013	(r316635)
+++ head/CHANGES	Fri Apr 26 20:44:59 2013	(r316636)
@@ -10,6 +10,14 @@ in the release notes and/or placed into 
 
 All ports committers are allowed to commit to this file.
 
+20130426:
+AUTHOR: mva at FreeBSD.org
+
+  * USE_ICONV has been deprecated and converted into the iconv USE
+    feature
+
+    USES= iconv
+
 20130425:
 AUTHOR: bapt at FreeBSD.org
 
@@ -28,7 +36,6 @@ AUTHOR: jgh at FreeBSD.org
     It deprecates USE_GETTEXT which will be removed as soon as it is not
     used anymore
 
-
 20130422:
 AUTHOR: bdrewery at FreeBSD.org
 

Added: head/Mk/Uses/iconv.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/Mk/Uses/iconv.mk	Fri Apr 26 20:44:59 2013	(r316636)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+#
+# handle dependency on the iconv port
+#
+# MAINTAINER: portmgr at 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


More information about the svn-ports-all mailing list