WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Explicitly use GNU msgfmt on non-GNU syst

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Explicitly use GNU msgfmt on non-GNU systems.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Dec 2006 14:20:29 -0800
Delivery-date: Fri, 29 Dec 2006 14:50:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxxx
# Date 1167409391 0
# Node ID 89d4e80cd1b7e222de843a4b096a274cdd95d8c5
# Parent  f0e9c518d0ff27cc3b505e4ba1d6dc9d47b7bd2c
Explicitly use GNU msgfmt on non-GNU systems.
Signed-off-by: John Levon <john.levon@xxxxxxx>
---
 config/StdGNU.mk      |    2 ++
 config/SunOS.mk       |    2 ++
 tools/python/Makefile |    6 +++---
 3 files changed, 7 insertions(+), 3 deletions(-)

diff -r f0e9c518d0ff -r 89d4e80cd1b7 config/StdGNU.mk
--- a/config/StdGNU.mk  Fri Dec 29 16:17:53 2006 +0000
+++ b/config/StdGNU.mk  Fri Dec 29 16:23:11 2006 +0000
@@ -8,6 +8,8 @@ STRIP      = $(CROSS_COMPILE)strip
 STRIP      = $(CROSS_COMPILE)strip
 OBJCOPY    = $(CROSS_COMPILE)objcopy
 OBJDUMP    = $(CROSS_COMPILE)objdump
+
+MSGFMT     = msgfmt
 
 INSTALL      = install
 INSTALL_DIR  = $(INSTALL) -d -m0755
diff -r f0e9c518d0ff -r 89d4e80cd1b7 config/SunOS.mk
--- a/config/SunOS.mk   Fri Dec 29 16:17:53 2006 +0000
+++ b/config/SunOS.mk   Fri Dec 29 16:23:11 2006 +0000
@@ -8,6 +8,8 @@ STRIP      = $(CROSS_COMPILE)gstrip
 STRIP      = $(CROSS_COMPILE)gstrip
 OBJCOPY    = $(CROSS_COMPILE)gobjcopy
 OBJDUMP    = $(CROSS_COMPILE)gobjdump
+
+MSGFMT     = gmsgfmt
 
 SHELL      = bash
 
diff -r f0e9c518d0ff -r 89d4e80cd1b7 tools/python/Makefile
--- a/tools/python/Makefile     Fri Dec 29 16:17:53 2006 +0000
+++ b/tools/python/Makefile     Fri Dec 29 16:23:11 2006 +0000
@@ -7,12 +7,12 @@ all: build
 .PHONY: build
 build:
        CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py build
-       if which msgfmt >/dev/null ; then \
+       if which $(MSGFMT) >/dev/null ; then \
           for file in `cd xen/xm; find messages -name xen-xm.po`; do \
             dest=`echo "build/$$file" | \
                   sed -e 's#xen-xm.po#LC_MESSAGES/xen-xm.mo#'`; \
             mkdir -p `dirname "$$dest"`; \
-            msgfmt -c -o "$$dest" "xen/xm/$$file"; \
+            $(MSGFMT) -c -o "$$dest" "xen/xm/$$file"; \
           done; \
         fi
 
@@ -26,7 +26,7 @@ endif
 endif
 
 install-messages: all
-       if which msgfmt >/dev/null ; then \
+       if which $(MSGFMT) >/dev/null ; then \
          mkdir -p "$(DESTDIR)/usr/share/locale"; \
          cp -R build/messages/* "$(DESTDIR)/usr/share/locale/"; \
        fi

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Explicitly use GNU msgfmt on non-GNU systems., Xen patchbot-unstable <=