Date: Fri, 6 Jul 2007 14:57:38 +0200 (CEST) From: Helge Oldach <ports-www-lynx-jul07@oldach.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/114356: [patch] ports/www/lynx WITHOUT_NLS correction Message-ID: <200707061257.l66Cvckl050041@sep.oldach.net> Resent-Message-ID: <200707061330.l66DU3Pp098314@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114356 >Category: ports >Synopsis: [patch] ports/www/lynx WITHOUT_NLS correction >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 06 13:30:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Helge Oldach >Release: FreeBSD 6.2-898 i386 >Organization: >Environment: System: FreeBSD localhost 6.2-898 FreeBSD 6.2-898 #0: Wed Jul 4 17:23:23 CEST 2007 toor@localhost:/usr/obj/usr/src/sys/HMO i386 >Description: ports/www/lynx can be compiled with or without NLS, using the WITHOUT_NLS knob. However, libiconv is unconditionally compiled in, although it is just superfluous unless NLS is requested. Indeed lynx runs just fine without libiconv, and actually isn't even linked against libiconv. The rather simple patch below fixes the issue. >How-To-Repeat: >Fix: --- Makefile.ctm Thu Jul 5 17:19:20 2007 +++ Makefile Fri Jul 6 14:18:09 2007 @@ -19,18 +19,18 @@ CONFLICTS?= lynx-ssl* lynx-current* USE_BZIP2= yes -USE_ICONV= yes WRKSRC= ${WRKDIR}/${PORTNAME}2-8-6 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \ --enable-nsl-fork --enable-persistent-cookies \ - --with-curses-dir=/usr --with-libiconv-prefix="${LOCALBASE}" + --with-curses-dir=/usr .if defined(WITHOUT_NLS) CONFIGURE_ARGS+=--disable-nls .else +USE_ICONV= yes USE_GETTEXT= yes -CONFIGURE_ARGS+=--enable-nls +CONFIGURE_ARGS+=--enable-nls --with-libiconv-prefix="${LOCALBASE}" .endif .if defined(NO_INET6) || defined(WITHOUT_IPV6) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707061257.l66Cvckl050041>