Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2013 20:44:59 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316636 - in head: . Mk/Uses
Message-ID:  <201304262044.r3QKixk9043385@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 

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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304262044.r3QKixk9043385>