ports/62131: USE_ICONV

Trevor Johnson trevor at FreeBSD.org
Fri Jan 30 22:00:39 UTC 2004


>Number:         62131
>Category:       ports
>Synopsis:       USE_ICONV
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 30 14:00:37 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Trevor Johnson
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
N/A
>Environment:
bsd.port.mk 1.483
>Description:
variable to add a dependency on libiconv
>How-To-Repeat:
N/A
>Fix:
also at http://people.freebsd.org/~trevor/ports/use-iconv.diff

Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.483
diff -u -r1.483 bsd.port.mk
--- bsd.port.mk	24 Jan 2004 01:26:30 -0000	1.483
+++ bsd.port.mk	30 Jan 2004 21:49:55 -0000
@@ -307,6 +307,8 @@
 #				  CPPFLAGS and LDFLAGS in CONFIGURE_ENV.
 #				  Default: not set.
 ##
+# USE_ICONV	- Says that the port uses libiconv.
+##
 # USE_PERL5		- Says that the port uses perl5 for building and running.
 # USE_PERL5_BUILD	- Says that the port uses perl5 for building.
 # USE_PERL5_RUN		- Says that the port uses perl5 for running.
@@ -1617,6 +1619,10 @@
 .if defined(USE_RC_SUBR)
 RUN_DEPENDS+=	${LOCALBASE}/etc/rc.subr:${PORTSDIR}/sysutils/rc_subr
 RC_SUBR=	${LOCALBASE}/etc/rc.subr
+.endif
+
+.if defined(USE_ICONV)
+LIB_DEPENDS+=	iconv.3:${PORTSDIR}/converters/libiconv
 .endif
 
 .if defined(USE_LINUX)
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list