pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/34103: graphics/gimp graphics/gimp24 Solaris install lib/locale




>  >  > >Number:         34103
>  >  > >Category:       pkg
>  >  > >Synopsis:       graphics/gimp graphics/gimp24 Solaris install 
> lib/locale
>  >  > 
>  >  > >Fix:
>  >  > 
>  >  > 
>  >  > Let the subst part do the work and *.mo file go in /usr/pkg/lib
>  >  > not in /usr/pkg/share. Please apply patch also to gimp24.
>  >  
>  >  Same patch for x11/gtksourceview.
>  
>  Same patch for games/gnome2-games
>  
>  >  
>  >  > 
>  >  > --- po/Makefile.in.in.orig      Wed Jun 14 22:28:21 2006
>  >  > +++ po/Makefile.in.in   Fri Jul 28 17:42:45 2006
>  >  > @@ -34,7 +34,8 @@
>  >  >  datarootdir = @datarootdir@
>  >  >  libdir = @libdir@
>  >  >  DATADIRNAME = @DATADIRNAME@
>  >  > -itlocaledir = $(prefix)/$(DATADIRNAME)/locale
>  >  > +localedir = $(prefix)/$(DATADIRNAME)/locale
>  >  > +itlocaledir = $(localedir)
>  >  >  subdir = po
>  >  >  install_sh = @install_sh@
>  >  >  # Automake >= 1.8 provides @mkdir_p@.

I finally found the true patch for all 'gnulocaledir' (itlocaledir)
The suggest for all this bug is the following patch in
 mk/configure/replace-localedir.mk
 
--- replace-localedir.mk.orig   Wed Jul  5 08:09:15 2006
+++ replace-localedir.mk        Thu Aug  3 11:23:55 2006
@@ -41,5 +41,6 @@
 SUBST_FILES.pkglocaledir=      ${_REPLACE_LOCALEDIR}
 SUBST_SED.pkglocaledir=                \
        -e 's|^\(localedir[     :]*=\).*|\1 ${_PKGLOCALEDIR}|'          \
+       -e 's|^\(itlocaledir[   :]*=\).*|\1 ${_PKGLOCALEDIR}|'          \
        -e 's|^\(gnulocaledir[  :]*=\).*|\1 ${_PKGLOCALEDIR}|'          \
        -e 's|\(-DLOCALEDIR[    ]*=\)[^         
]*\(\.\*\)|\1"\\"${_PKGLOCALEDIR}\\""\2|'

Cheers
Gilles




Home | Main Index | Thread Index | Old Index