From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 2 20:20:05 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC01D1065672 for ; Wed, 2 May 2012 20:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9416F8FC15 for ; Wed, 2 May 2012 20:20:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q42KK56j029448 for ; Wed, 2 May 2012 20:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q42KK54K029447; Wed, 2 May 2012 20:20:05 GMT (envelope-from gnats) Resent-Date: Wed, 2 May 2012 20:20:05 GMT Resent-Message-Id: <201205022020.q42KK54K029447@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, nemysis Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B23E81065672 for ; Wed, 2 May 2012 20:17:02 +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 9D2038FC1E for ; Wed, 2 May 2012 20:17:02 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q42KH27o032239 for ; Wed, 2 May 2012 20:17:02 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q42KH2TK032238; Wed, 2 May 2012 20:17:02 GMT (envelope-from nobody) Message-Id: <201205022017.q42KH2TK032238@red.freebsd.org> Date: Wed, 2 May 2012 20:17:02 GMT From: nemysis To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/167534: [PATCH] net-im/pidgin-privacy-please to install in /usr/local/share/locale X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 20:20:05 -0000 >Number: 167534 >Category: ports >Synopsis: [PATCH] net-im/pidgin-privacy-please to install in /usr/local/share/locale >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed May 02 20:20:05 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: FreeBSD 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: net-im/pidgin-privacy-please install locale in /usr/local/lib/locale Have added a patch to correct this to install locale in /usr/local/share/locale po/Makefile.in.in -itlocaledir = $(prefix)/$(DATADIRNAME)/locale +itlocaledir = $(datarootdir)/locale Now is gettext conditional. >How-To-Repeat: >Fix: This patch fix problem diff -ruN --exclude=CVS /usr/ports/net-im/pidgin-privacy-please/ ./pidgin-privacy-please/ > pidgin-privacy-please.diff Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pidgin-privacy-please.diff # echo x - pidgin-privacy-please.diff sed 's/^X//' >pidgin-privacy-please.diff << 'afb2b717b6733f15870bc34cf0df07c4' Xdiff -ruN --exclude=CVS /usr/ports/net-im/pidgin-privacy-please/Makefile ./net-im/pidgin-privacy-please/Makefile X--- /usr/ports/net-im/pidgin-privacy-please/Makefile 2011-08-29 12:21:10.000000000 +0200 X+++ ./net-im/pidgin-privacy-please/Makefile 2012-05-02 21:05:40.000000000 +0200 X@@ -21,8 +21,19 @@ X X GNU_CONFIGURE= yes X USE_GMAKE= yes X-USE_GETTEXT= yes X USE_GNOME= gtk20 X USE_LDCONFIG= ${PREFIX}/lib/pidgin X X+OPTIONS= NLS "Enable gettext support" on X+ X+.include X+ X+.if defined(WITHOUT_NLS) X+CONFIGURE_ARGS+= --disable-nls X+PLIST_SUB+= NLS="@comment " X+.else X+USE_GETTEXT= yes X+PLIST_SUB+= NLS="" X+.endif X+ X .include Xdiff -ruN --exclude=CVS /usr/ports/net-im/pidgin-privacy-please/files/patch-po-Makefile.in.in ./net-im/pidgin-privacy-please/files/patch-po-Makefile.in.in X--- /usr/ports/net-im/pidgin-privacy-please/files/patch-po-Makefile.in.in 1970-01-01 01:00:00.000000000 +0100 X+++ ./net-im/pidgin-privacy-please/files/patch-po-Makefile.in.in 2012-05-02 21:01:54.000000000 +0200 X@@ -0,0 +1,11 @@ X+--- po/Makefile.in.in.orig 2011-08-13 04:58:38.000000000 +0200 X++++ po/Makefile.in.in 2012-05-02 20:59:29.000000000 +0200 X+@@ -34,7 +34,7 @@ X+ datarootdir = @datarootdir@ X+ libdir = @libdir@ X+ DATADIRNAME = @DATADIRNAME@ X+-itlocaledir = $(prefix)/$(DATADIRNAME)/locale X++itlocaledir = $(datarootdir)/locale X+ subdir = po X+ install_sh = @install_sh@ X+ # Automake >= 1.8 provides @mkdir_p@. Xdiff -ruN --exclude=CVS /usr/ports/net-im/pidgin-privacy-please/pkg-plist ./net-im/pidgin-privacy-please/pkg-plist X--- /usr/ports/net-im/pidgin-privacy-please/pkg-plist 2011-08-29 12:21:10.000000000 +0200 X+++ ./net-im/pidgin-privacy-please/pkg-plist 2012-05-02 21:12:33.000000000 +0200 X@@ -1,12 +1,4 @@ X-lib/locale/de/LC_MESSAGES/pidgin-privacy-please.mo X-lib/locale/pl/LC_MESSAGES/pidgin-privacy-please.mo X-lib/locale/ru/LC_MESSAGES/pidgin-privacy-please.mo X-lib/pidgin/libpidgin_pp.la X-lib/pidgin/libpidgin_pp.so X-@dirrmtry lib/locale/de/LC_MESSAGES X-@dirrmtry lib/locale/pl/LC_MESSAGES X-@dirrmtry lib/locale/ru/LC_MESSAGES X-@dirrmtry lib/locale/de X-@dirrmtry lib/locale/pl X-@dirrmtry lib/locale/ru X-@dirrmtry lib/locale X+libdata/ldconfig/pidgin-privacy-please X+%%NLS%%share/locale/de/LC_MESSAGES/pidgin-privacy-please.mo X+%%NLS%%share/locale/pl/LC_MESSAGES/pidgin-privacy-please.mo X+%%NLS%%share/locale/ru/LC_MESSAGES/pidgin-privacy-please.mo afb2b717b6733f15870bc34cf0df07c4 exit >Release-Note: >Audit-Trail: >Unformatted: