diff -ur qhacc-2.9/plugins/cliimp/Makefile.in qhacc-2.9-gentoo/plugins/cliimp/Makefile.in --- qhacc-2.9/plugins/cliimp/Makefile.in 2003-09-16 22:18:16.000000000 +1200 +++ qhacc-2.9-gentoo/plugins/cliimp/Makefile.in 2003-09-17 15:32:32.000000000 +1200 @@ -145,7 +145,7 @@ @CLIIMP_TRUE@lib_LTLIBRARIES = libcliimpio.la -@CLIIMP_TRUE@impdir = $(prefix)/plugins/import +@CLIIMP_TRUE@impdir = $(pkgdatadir)/plugins/import @CLIIMP_TRUE@libcliimpio_la_SOURCES = cliimpplugin.cpp @@ -470,7 +470,7 @@ @CLIIMP_TRUE@install-data-local: @CLIIMP_TRUE@ mkdir -p $(impdir) -@CLIIMP_TRUE@ if test ! -e $(impdir)/libcliimpio.so ; then cd $(impdir) && ln -s $(libdir)/libcliimpio.so $(impdir) ; fi +@CLIIMP_TRUE@ if test ! -e $(impdir)/libcliimpio.so ; then cd $(impdir) && ln -s ../../../../lib/libcliimpio.so $(impdir) ; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -ur qhacc-2.9/plugins/cron/Makefile.in qhacc-2.9-gentoo/plugins/cron/Makefile.in --- qhacc-2.9/plugins/cron/Makefile.in 2003-09-16 22:18:16.000000000 +1200 +++ qhacc-2.9-gentoo/plugins/cron/Makefile.in 2003-09-17 15:35:51.000000000 +1200 @@ -145,7 +145,7 @@ @CRON_TRUE@lib_LTLIBRARIES = libcronio.la -@CRON_TRUE@impdir = $(prefix)/plugins/import +@CRON_TRUE@impdir = $(pkgdatadir)/plugins/import @CRON_TRUE@libcronio_la_SOURCES = cronplugin.cpp @@ -470,7 +470,7 @@ @CRON_TRUE@install-data-local: @CRON_TRUE@ mkdir -p $(impdir) -@CRON_TRUE@ if test ! -e $(impdir)/libcronio.so ; then cd $(impdir) && ln -s $(libdir)/libcronio.so $(impdir) ; fi +@CRON_TRUE@ if test ! -e $(impdir)/libcronio.so ; then cd $(impdir) && ln -s ../../../../lib/libcronio.so $(impdir) ; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -ur qhacc-2.9/plugins/mysql/Makefile.in qhacc-2.9-gentoo/plugins/mysql/Makefile.in --- qhacc-2.9/plugins/mysql/Makefile.in 2003-09-16 22:18:16.000000000 +1200 +++ qhacc-2.9-gentoo/plugins/mysql/Makefile.in 2003-09-17 15:36:20.000000000 +1200 @@ -145,7 +145,7 @@ @MYSQL_TRUE@lib_LTLIBRARIES = libmysqlio.la -@MYSQL_TRUE@pidir = $(prefix)/plugins +@MYSQL_TRUE@pidir = $(pkgdatadir)/plugins @MYSQL_TRUE@dbdir = $(pidir)/db @MYSQL_TRUE@importdir = $(pidir)/import @MYSQL_TRUE@exportdir = $(pidir)/export @@ -156,7 +156,7 @@ @MYSQL_TRUE@libmysqlio_la_LIBADD = -l$(QHACCQT) -lmysqlclient -lsqlplus -lnativedbio -@MYSQL_TRUE@INCLUDES = $(all_includes) -I$(QTINCDIR) -I$(MYSQLINCDIR) -I../../lib +@MYSQL_TRUE@INCLUDES = $(all_includes) -I$(QTINCDIR) -I$(MYSQLINCDIR) -I$(prefix)/include/mysql++ -I../../lib @MYSQL_TRUE@AM_LDFLAGS = -L$(QTLIBDIR) -L$(MYSQLLIBDIR) -L../../lib @MYSQL_TRUE@LDADD = @@ -473,11 +473,11 @@ @MYSQL_TRUE@install-data-local: @MYSQL_TRUE@ mkdir -p $(dbdir) -@MYSQL_TRUE@ if test ! -e $(dbdir)/libmysqlio.so ; then cd $(dbdir); ln -s $(libdir)/libmysqlio.so $(dbdir) ; fi +@MYSQL_TRUE@ if test ! -e $(dbdir)/libmysqlio.so ; then cd $(dbdir); ln -s ../../../../lib/libmysqlio.so $(dbdir) ; fi @MYSQL_TRUE@ mkdir -p $(importdir) -@MYSQL_TRUE@ if test ! -e $(importdir)/libmysqlio.so ; then cd $(importdir); ln -s ../../lib/libmysqlio.so $(importdir) ; fi +@MYSQL_TRUE@ if test ! -e $(importdir)/libmysqlio.so ; then cd $(importdir); ln -s ../../../../lib/libmysqlio.so $(importdir) ; fi @MYSQL_TRUE@ mkdir -p $(exportdir) -@MYSQL_TRUE@ if test ! -e $(exportdir)/libmysqlio.so ; then cd $(exportdir); ln -s ../../lib/libmysqlio.so $(exportdir) ; fi +@MYSQL_TRUE@ if test ! -e $(exportdir)/libmysqlio.so ; then cd $(exportdir); ln -s ../../../../lib/libmysqlio.so $(exportdir) ; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -ur qhacc-2.9/plugins/qif/Makefile.in qhacc-2.9-gentoo/plugins/qif/Makefile.in --- qhacc-2.9/plugins/qif/Makefile.in 2003-09-16 22:18:16.000000000 +1200 +++ qhacc-2.9-gentoo/plugins/qif/Makefile.in 2003-09-17 15:36:41.000000000 +1200 @@ -145,7 +145,7 @@ @QIF_TRUE@lib_LTLIBRARIES = libqifio.la -@QIF_TRUE@pidir = $(prefix)/plugins +@QIF_TRUE@pidir = $(pkgdatadir)/plugins @QIF_TRUE@dbdir = $(pidir)/db @QIF_TRUE@importdir = $(pidir)/import @QIF_TRUE@exportdir = $(pidir)/export @@ -473,7 +473,7 @@ @QIF_TRUE@install-data-local: @QIF_TRUE@ mkdir -p $(importdir) -@QIF_TRUE@ if test ! -e $(importdir)/libqifio.so ; then cd $(importdir); ln -s $(libdir)/libqifio.so $(importdir) ; fi +@QIF_TRUE@ if test ! -e $(importdir)/libqifio.so ; then cd $(importdir); ln -s ../../../../lib/libqifio.so $(importdir) ; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -ur qhacc-2.9/plugins/xml/Makefile.in qhacc-2.9-gentoo/plugins/xml/Makefile.in --- qhacc-2.9/plugins/xml/Makefile.in 2003-09-16 22:18:16.000000000 +1200 +++ qhacc-2.9-gentoo/plugins/xml/Makefile.in 2003-09-17 15:37:02.000000000 +1200 @@ -145,7 +145,7 @@ @XML_TRUE@lib_LTLIBRARIES = libxmlio.la -@XML_TRUE@pidir = $(prefix)/plugins +@XML_TRUE@pidir = $(pkgdatadir)/plugins @XML_TRUE@dbdir = $(pidir)/db @XML_TRUE@importdir = $(pidir)/import @XML_TRUE@exportdir = $(pidir)/export @@ -473,11 +473,11 @@ @XML_TRUE@install-data-local: @XML_TRUE@ mkdir -p $(dbdir) -@XML_TRUE@ if test ! -e $(dbdir)/libxmlio.so ; then cd $(dbdir); ln -s $(libdir)/libxmlio.so $(dbdir) ; fi +@XML_TRUE@ if test ! -e $(dbdir)/libxmlio.so ; then cd $(dbdir); ln -s ../../../../lib/libxmlio.so $(dbdir) ; fi @XML_TRUE@ mkdir -p $(importdir) -@XML_TRUE@ if test ! -e $(importdir)/libxmlio.so ; then cd $(importdir); ln -s $(libdir)/libxmlio.so $(importdir) ; fi +@XML_TRUE@ if test ! -e $(importdir)/libxmlio.so ; then cd $(importdir); ln -s ../../../../lib/libxmlio.so $(importdir) ; fi @XML_TRUE@ mkdir -p $(exportdir) -@XML_TRUE@ if test ! -e $(exportdir)/libxmlio.so ; then cd $(exportdir); ln -s $(libdir)/libxmlio.so $(exportdir) ; fi +@XML_TRUE@ if test ! -e $(exportdir)/libxmlio.so ; then cd $(exportdir); ln -s ../../../../lib/libxmlio.so $(exportdir) ; fi # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff -ur qhacc-2.9/qm/Makefile.in qhacc-2.9-gentoo/qm/Makefile.in --- qhacc-2.9/qm/Makefile.in 2003-09-16 22:18:15.000000000 +1200 +++ qhacc-2.9-gentoo/qm/Makefile.in 2003-09-17 15:31:20.000000000 +1200 @@ -174,12 +174,12 @@ dataDATA_INSTALL = $(INSTALL_DATA) install-dataDATA: $(data_DATA) @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(datadir) + $(mkinstalldirs) $(DESTDIR)$(pkgdatadir) @list='$(data_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(dataDATA_INSTALL) $$d$$p $(DESTDIR)$(datadir)/$$f"; \ - $(dataDATA_INSTALL) $$d$$p $(DESTDIR)$(datadir)/$$f; \ + echo " $(dataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \ + $(dataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \ done uninstall-dataDATA: