[Patch] rep-gtk and rep-gtk.pc destination
- From: Jan Kasprzak <kas fi muni cz>
- To: General discussion about sawfish wm <sawfish-list gnome org>
- Subject: [Patch] rep-gtk and rep-gtk.pc destination
- Date: Mon, 5 Jan 2009 18:07:09 +0100
Hello,
I am trying to build librep, rep-gtk, and sawfish for Fedora 10. So far
I have found one problem in rep-gtk: it installs its pkgconfig file
to /usr/lib/pkgconfig, instead of whatever is given to ./configure as
--libdir option. This can be a problem on multilib systems (on Fedora,
for example, 32-bit libraries sit in /usr/lib, while 64-bit ones
are in /usr/lib64). I suggest the following patch to Makefile.in.
The other alternative is to use "pkg-config librep --variable=libdir",
but I think when the ./configure accepts the --libdir argument (and even
mentions it in ./configure --help), it should honor it.
-Yenya
--- rep-gtk-0.18.3/Makefile.in.libdir 2008-08-14 19:05:46.000000000 +0200
+++ rep-gtk-0.18.3/Makefile.in 2009-01-05 17:40:53.000000000 +0100
@@ -50,6 +50,7 @@
DESTDIR=
installdir=$(repexecdir)
+libdir= libdir@
top_srcdir= top_srcdir@
top_builddir=.
@@ -105,8 +106,8 @@
printf "\nrep_open_globally=yes\n" >>$(DESTDIR)$(installdir)/$$f; \
done
$(rep_INSTALL_ALIASES) -c . $(DESTDIR)$(installdir)
- install -d $(DESTDIR)/@prefix@/lib/pkgconfig/
- install -m644 rep-gtk.pc $(DESTDIR)/@prefix@/lib/pkgconfig/
+ install -d $(DESTDIR)/$(libdir)/pkgconfig
+ install -m644 rep-gtk.pc $(DESTDIR)/$(libdir)/pkgconfig/
install -d $(DESTDIR)/@prefix@/share/doc/rep-gtk- version@/
install -m755 examples/* $(DESTDIR)/@prefix@/share/doc/rep-gtk- version@/
--
| Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839 Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/ Journal: http://www.fi.muni.cz/~kas/blog/ |
>> If you find yourself arguing with Alan Cox, you’re _probably_ wrong. <<
>> --James Morris in "How and Why You Should Become a Kernel Hacker" <<
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]