[patch] Re: [ANNOUNCE] rep-gtk-0.18.4



Hi.

Attached patch seems to be satisfactory, for all of:
/configure
/configure --prefix=/usr
/configure --prefix=/usr/lib64

Regards,
Teika (Teika kazura)

I wrote:
> I seem to have a peculiar 'libdir' value in Makefile on my Gentoo
> Linux. As a result, my rep-gtk.pc is installed in
> /usr/usr/lib64/... Note duplicate '/usr'. 
> 
> $ ./configure --prefix=/usr
> -> libdir=/usr/${exec_prefix}/lib  in Makefile.
> 
> This installs rep-gtk.pc *correctly* in /usr//lib/pkgconfig/ .
> 
> $ ./configure --prefix=/usr --libdir=/usr/lib64
> -> libdir=/usr//usr/lib64
> 
> With this, rep-gtk.pc goes /usr//usr/lib64/pkgconfig/ .

>> Maybe [libdir= libdir@ in Makefile.in] is correct, 
>> instead of current @prefix@/@libdir@ ?
>        
> Nope. If ./configure --prefix=/usr, then rep-gtk.pc goes into
> /lib/pkgconfig 

--- rep-gtk-0.18.4.orig/Makefile.in	2009-01-19 06:17:15.000000000 +0900
+++ rep-gtk-0.18.4/Makefile.in	2009-03-20 14:48:19.710940324 +0900
@@ -34,7 +34,9 @@
 DESTDIR=
 installdir=$(repexecdir)
 
-libdir= prefix@/@libdir@
+prefix= prefix@
+exec_prefix= exec_prefix@
+libdir= libdir@
 
 top_srcdir= top_srcdir@
 top_builddir=.


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