From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 24 19:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EB08E948 for ; Sun, 24 Mar 2013 19:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id CECC381 for ; Sun, 24 Mar 2013 19:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2OJU00S019876 for ; Sun, 24 Mar 2013 19:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2OJU0r3019866; Sun, 24 Mar 2013 19:30:00 GMT (envelope-from gnats) Resent-Date: Sun, 24 Mar 2013 19:30:00 GMT Resent-Message-Id: <201303241930.r2OJU0r3019866@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Norihiko Murase Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B90328E1 for ; Sun, 24 Mar 2013 19:23:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 92159FE6 for ; Sun, 24 Mar 2013 19:23:04 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2OJN35d021213 for ; Sun, 24 Mar 2013 19:23:03 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2OJN3x6021212; Sun, 24 Mar 2013 19:23:03 GMT (envelope-from nobody) Message-Id: <201303241923.r2OJN3x6021212@red.freebsd.org> Date: Sun, 24 Mar 2013 19:23:03 GMT From: Norihiko Murase To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177353: [PATCH] ftp/yafc: fix for NLS support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2013 19:30:01 -0000 >Number: 177353 >Category: ports >Synopsis: [PATCH] ftp/yafc: fix for NLS support >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: Sun Mar 24 19:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Norihiko Murase >Release: >Organization: >Environment: >Description: - Fix the wrong configure option for NLS support that should be specified in building: (NG) --(enable|disable)-nls (OK) --(with|without)-gettext - Delete unnecessary library link for NLS support ("-lintl" is added by the configure script executed even if it is not specified here.) >How-To-Repeat: >Fix: Patch attached with submission should be imported. Patch attached with submission follows: diff -urN ports.old/Makefile ports.new/Makefile --- ports.old/Makefile 2013-01-20 08:12:43.000000000 +0900 +++ ports.new/Makefile 2013-03-25 03:53:24.000000000 +0900 @@ -34,33 +34,35 @@ .include .if ${PORT_OPTIONS:MNLS} +CONFIGURE_ARGS+= --with-gettext USE_GNOME+= intltool USE_GETTEXT= yes -LDFLAGS+= -lintl PLIST_FILES+= share/locale/de/LC_MESSAGES/yafc.mo \ share/locale/sv/LC_MESSAGES/yafc.mo .else -CONFIGURE_ARGS+= --disable-nls +CONFIGURE_ARGS+= --without-gettext .endif .if ${PORT_OPTIONS:MREADLINE} +CONFIGURE_ARGS+= --with-readline USE_READLINE= yes .else CONFIGURE_ARGS+= --without-readline .endif .if ${PORT_OPTIONS:MSSH} +CONFIGURE_ARGS+= --with-ssh LIB_DEPENDS+= ssh:${PORTSDIR}/security/libssh .else CONFIGURE_ARGS+= --without-ssh .endif .if ${PORT_OPTIONS:MBASH} -CONFIGURE_ARGS+= --with-bash-completion=yes +CONFIGURE_ARGS+= --with-bash-completion PLIST_FILES+= etc/bash_completion.d/yafc PLIST_DIRSTRY= etc/bash_completion.d .else -CONFIGURE_ARGS+= --with-bash-completion=no +CONFIGURE_ARGS+= --without-bash-completion .endif post-install: >Release-Note: >Audit-Trail: >Unformatted: