Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2011 11:04:24 +0200 (CEST)
From:      Guido Falsi <mad@madpilot.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/156465: [PATCH] x11-wm/fvwm2: Fix plist when WITHOUT_NLS
Message-ID:  <20110418090425.0677B1D8B@megatron.madpilot.net>
Resent-Message-ID: <201104180910.p3I9AB2g007216@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156465
>Category:       ports
>Synopsis:       [PATCH] x11-wm/fvwm2: Fix plist when WITHOUT_NLS
>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:   Mon Apr 18 09:10:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Guido Falsi
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.2-STABLE FreeBSD 8.2-STABLE #25: Sun Feb 27 13:06:39 CET 2011 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64


>Description:

fvwm2 now allows to define WITHOUT_NLS via options but does not
conditionally exclude the relevant files from the plist.

>How-To-Repeat:

Install x11-wm/fvwm2 and disable NLS from the options framework,
then try make package.

>Fix:

diff -ruN fvwm2.old/pkg-plist fvwm2/pkg-plist
--- fvwm2.old/pkg-plist	2011-04-17 17:59:45.547810486 +0200
+++ fvwm2/pkg-plist	2011-04-17 18:00:10.863803744 +0200
@@ -431,21 +431,21 @@
 %%DATADIR%%/perllib/FVWM/Tracker/WindowList.pm
 %%DATADIR%%/perllib/General/FileSystem.pm
 %%DATADIR%%/perllib/General/Parse.pm
-share/locale/ar/LC_MESSAGES/FvwmScript.mo
-share/locale/ar/LC_MESSAGES/FvwmTaskBar.mo
-share/locale/ar/LC_MESSAGES/fvwm.mo
-share/locale/de/LC_MESSAGES/FvwmScript.mo
-share/locale/de/LC_MESSAGES/FvwmTaskBar.mo
-share/locale/de/LC_MESSAGES/fvwm.mo
-share/locale/fr/LC_MESSAGES/FvwmScript.mo
-share/locale/fr/LC_MESSAGES/FvwmTaskBar.mo
-share/locale/fr/LC_MESSAGES/fvwm.mo
-share/locale/sv_SE/LC_MESSAGES/FvwmScript.mo
-share/locale/sv_SE/LC_MESSAGES/FvwmTaskBar.mo
-share/locale/sv_SE/LC_MESSAGES/fvwm.mo
-share/locale/zh_CN/LC_MESSAGES/FvwmScript.mo
-share/locale/zh_CN/LC_MESSAGES/FvwmTaskBar.mo
-share/locale/zh_CN/LC_MESSAGES/fvwm.mo
+%%NLS%%share/locale/ar/LC_MESSAGES/FvwmScript.mo
+%%NLS%%share/locale/ar/LC_MESSAGES/FvwmTaskBar.mo
+%%NLS%%share/locale/ar/LC_MESSAGES/fvwm.mo
+%%NLS%%share/locale/de/LC_MESSAGES/FvwmScript.mo
+%%NLS%%share/locale/de/LC_MESSAGES/FvwmTaskBar.mo
+%%NLS%%share/locale/de/LC_MESSAGES/fvwm.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/FvwmScript.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/FvwmTaskBar.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/fvwm.mo
+%%NLS%%share/locale/sv_SE/LC_MESSAGES/FvwmScript.mo
+%%NLS%%share/locale/sv_SE/LC_MESSAGES/FvwmTaskBar.mo
+%%NLS%%share/locale/sv_SE/LC_MESSAGES/fvwm.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/FvwmScript.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/FvwmTaskBar.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/fvwm.mo
 @dirrm %%DATADIR%%/perllib/General
 @dirrm %%DATADIR%%/perllib/FVWM/Tracker
 @dirrm %%DATADIR%%/perllib/FVWM/Module
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110418090425.0677B1D8B>