Locale bug in gnome-objc (patch included).



Hi,

  In gnome-objc GNOMELOCALEDIR is defined as $(libdir)/locale, which
translates to PREFIX/lib/locale, whereas the correct path would be 
PREFIX/share/locale.

  The following patch replaces $(libdir) with $(datadir).

- Mika


--- gnome-objc/obgnome/Makefile.am.orig Sun Nov 29 15:57:50 1998
+++ gnome-objc/obgnome/Makefile.am      Sun Nov 29 15:58:09 1998
@@ -31,7 +31,7 @@
 INCLUDES = -I.. -I$(srcdir)/.. -I$(includedir) \
        -DGNOMELIBDIR=\""$(libdir)"\"           \
        -DGNOMEDATADIR=\""$(datadir)"\"         \
-       -DGNOMELOCALEDIR=\""$(libdir)/locale\"" \
+       -DGNOMELOCALEDIR=\""$(datadir)/locale\"" \
        $(GNOME_INCLUDEDIR)                     \
        -I$(top_srcdir)/intl

--- gnome-objc/obgtk/Makefile.am.orig   Sun Nov 29 16:00:50 1998
+++ gnome-objc/obgtk/Makefile.am        Sun Nov 29 16:01:16 1998
@@ -31,7 +31,7 @@
 INCLUDES = -I.. -I$(srcdir)/.. -I$(includedir) \
        -DGNOMELIBDIR=\""$(libdir)"\" \
        -DGNOMEDATADIR=\""$(datadir)"\" \
-       -DGNOMELOCALEDIR=\""$(libdir)/locale\"" \
+       -DGNOMELOCALEDIR=\""$(datadir)/locale\"" \
        -I$(top_srcdir)/intl
 
 #libobgtk_la_DEPENDENCIES = @OBGTK_ACCEL_OBJS@




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]