Hello!

I had to create the following patch to be able to use a different value
for '--exec-prefix' than for '--prefix':

#v+
--- licq/plugins/qt-gui/src/Makefile.am.save    2003-02-18 20:21:55.000000000 +0100
+++ licq/plugins/qt-gui/src/Makefile.am 2003-02-18 20:23:35.000000000 +0100
@@ -1,7 +1,7 @@
 EXTRA_DIST = xpm

 #hack, FIXME this in a clean manner
-libdir=$(prefix)/lib/licq
+libdir=$(exec_prefix)/lib/licq
 licq_incdir = $(LICQ_INCLUDES)

 INCLUDES = -D_REENTRANT \
--- licq/src/Makefile.am.save   2003-02-19 15:31:29.000000000 +0100
+++ licq/src/Makefile.am        2003-02-19 15:31:51.000000000 +0100
@@ -1,7 +1,7 @@
 #EXTRA_DIST = inc

-#INCLUDES = -Wall -I$(srcdir)/inc -DINSTALL_PREFIX=\"@prefix@\" @SOCKS_INCDIR@
-INCLUDES = -Wall -I$(top_srcdir)/include -DINSTALL_PREFIX=\"@prefix@\" @SOCKS_INCDIR@
+#INCLUDES = -Wall -I$(srcdir)/inc -DINSTALL_PREFIX=\"@prefix@\" 
+-DINSTALL_EPREFIX=\"@exec_prefix@\" @SOCKS_INCDIR@
+INCLUDES = -Wall -I$(top_srcdir)/include -DINSTALL_PREFIX=\"@prefix@\" 
+-DINSTALL_EPREFIX=\"@exec_prefix@\" @SOCKS_INCDIR@

 noinst_HEADERS = licq.conf.h licq.h  \
          time-fix.h sar.conf.h support.h
--- licq/src/licq.cpp.save      2003-02-19 15:31:46.000000000 +0100
+++ licq/src/licq.cpp   2003-02-19 15:32:15.000000000 +0100
@@ -260,7 +260,7 @@

   // Define the directory for all the shared data
   sprintf(SHARE_DIR, "%s/%s", INSTALL_PREFIX, BASE_SHARE_DIR);
-  sprintf(LIB_DIR, "%s/%s", INSTALL_PREFIX, BASE_LIB_DIR);
+  sprintf(LIB_DIR, "%s/%s", INSTALL_EPREFIX, BASE_LIB_DIR);

   // Check pid
   char szConf[MAX_FILENAME_LEN], szKey[32];
#v-

Regards,
 Thomas

-- 
http://www.funk-o-rella.tk/            Jazz-Funk von Funk-o-rella



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to