+++ /dev/null
-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:
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/qhacc/qhacc-2.9.9.ebuild,v 1.2 2004/06/24 22:44:58 agriffis Exp $
-
-inherit libtool
-
-IUSE="mysql xml"
-
-DESCRIPTION="Personal Finance for QT"
-HOMEPAGE="http://qhacc.sourceforge.net"
-SRC_URI="mirror://sourceforge/qhacc/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa"
-
-DEPEND="mysql? ( dev-db/mysql++ )
- xml? ( dev-libs/libxml sys-libs/zlib )
- >=x11-libs/qt-3"
-
-src_compile() {
-
- elibtoolize
-
- local myconf=""
- use mysql || myconf="${myconf} --disable-mysql"
- use mysql && myconf="${myconf} --enable-mysql"
- use xml || myconf="${myconf} --disable-xml"
- use xml && myconf="${myconf} --enable-xml"
-
- econf ${myconf} || die "configure failed"
-
- make || die "make failed"
-
-}
-
-src_install() {
-
- einstall || die "install failed"
-
- dodir /etc/qhacc
- cp -R ${S}/contrib/easysetup/* ${D}/etc/qhacc/
-}
-
-pkg_postinst() {
- einfo "Copy the files in /etc/qhacc to ~/.qhacc,
- You have to run this program with the command:
- qhacc -f ~/.qhacc/
- I prefer to put this in my .bashrc
- alias qhacc=\"qhacc -f ~/.qhacc\""
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/qhacc/qhacc-2.9.ebuild,v 1.10 2004/10/05 14:04:06 pvdabeel Exp $
-
-inherit libtool eutils
-
-DESCRIPTION="Personal Finance for QT"
-HOMEPAGE="http://qhacc.sourceforge.net/"
-SRC_URI="mirror://sourceforge/sourceforge/qhacc/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ppc ~sparc ~alpha ~hppa"
-IUSE="mysql xml"
-
-DEPEND="mysql? ( dev-db/mysql++ )
- xml? ( dev-libs/libxml sys-libs/zlib )
- >=x11-libs/qt-3"
-
-src_unpack() {
- unpack ${A}
- epatch ${FILESDIR}/${P}-gentoo.patch
- epatch ${FILESDIR}/${P}-mysqlplugin-gcc-3.3.patch
-}
-
-src_compile() {
- elibtoolize
-
- local myconf=""
- use mysql || myconf="${myconf} --disable-mysql"
- use xml || myconf="${myconf} --disable-xml"
-
- econf ${myconf} || die "configure failed"
-
- make || die "make failed"
-}
-
-src_install() {
- einstall || die "install failed"
-
- dodir /etc/qhacc
- cp -R ${S}/contrib/easysetup/* ${D}/etc/qhacc/
-}
-
-pkg_postinst() {
- einfo "Copy the files in /etc/qhacc to ~/.qhacc,
- You have to run this program with the command:
- qhacc -f ~/.qhacc/
- I prefer to put this in my .bashrc
- alias qhacc=\"qhacc -f ~/.qhacc\""
-}