Date: Fri, 30 Jan 2004 13:56:00 -0800 (PST) From: Trevor Johnson <trevor@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/62131: USE_ICONV Message-ID: <20040130215600.F188616A4CF@hub.freebsd.org> Resent-Message-ID: <200401302200.i0UM0blO037516@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040130215600.F188616A4CF>