summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-06-14 09:57:55 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-06-14 09:57:55 +0000
commit6a0e4c5a9062fe6f6724c3dd5f7b2f8a5a4b0a70 (patch)
tree244ae4e81665ccb559fb2d45f55c0703eaf30c29 /dev-db
parentSlotmove (diff)
downloadgentoo-2-6a0e4c5a9062fe6f6724c3dd5f7b2f8a5a4b0a70.tar.gz
gentoo-2-6a0e4c5a9062fe6f6724c3dd5f7b2f8a5a4b0a70.tar.bz2
gentoo-2-6a0e4c5a9062fe6f6724c3dd5f7b2f8a5a4b0a70.zip
Add missing pkgconfig dep per bug #227487. Clean up bit the ebuild.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/hk_classes/ChangeLog8
-rw-r--r--dev-db/hk_classes/hk_classes-0.8.3.ebuild27
2 files changed, 22 insertions, 13 deletions
diff --git a/dev-db/hk_classes/ChangeLog b/dev-db/hk_classes/ChangeLog
index 679354c095e1..f55b8d09981f 100644
--- a/dev-db/hk_classes/ChangeLog
+++ b/dev-db/hk_classes/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-db/hk_classes
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.61 2009/03/23 02:20:14 bluebird Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/ChangeLog,v 1.62 2009/06/14 09:57:55 scarabeus Exp $
+
+ 14 Jun 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ hk_classes-0.8.3.ebuild:
+ Add missing pkgconfig dep per bug #227487. Clean up bit the ebuild.
23 Mar 2009; Friedrich Oslage <bluebird@gentoo.org>
hk_classes-0.8.3.ebuild:
diff --git a/dev-db/hk_classes/hk_classes-0.8.3.ebuild b/dev-db/hk_classes/hk_classes-0.8.3.ebuild
index 47c2dcfc3183..e70f54b7f626 100644
--- a/dev-db/hk_classes/hk_classes-0.8.3.ebuild
+++ b/dev-db/hk_classes/hk_classes-0.8.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.8.3.ebuild,v 1.8 2009/03/23 02:20:14 bluebird Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hk_classes/hk_classes-0.8.3.ebuild,v 1.9 2009/06/14 09:57:55 scarabeus Exp $
inherit autotools eutils python
@@ -23,11 +23,14 @@ LICENSE="LGPL-2"
KEYWORDS="amd64 ppc sparc x86"
IUSE="doc firebird mysql odbc postgres"
-DEPEND=">=media-libs/fontconfig-2.5.0-r1
+RDEPEND=">=media-libs/fontconfig-2.5.0-r1
firebird? ( dev-db/firebird )
mysql? ( >=dev-db/mysql-3.23.54a )
postgres? ( >=virtual/postgresql-server-7.3 )
odbc? ( >=dev-db/unixODBC-2.0.6 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+"
src_unpack() {
unpack ${A}
@@ -43,23 +46,25 @@ src_compile() {
python_version
export LIBPYTHON="-lpython${PYVER} -lz"
- myconf="--with-pythondir=/usr/$(get_libdir)/python${PYVER}/\
+ econf \
+ --with-pythondir=/usr/$(get_libdir)/python${PYVER}/ \
$(use_with mysql) \
$(use_with firebird) \
$(use_with odbc) \
- $(use_with postgres)"
+ $(use_with postgres)
- econf ${myconf} || die "econf failed"
emake || die "emake failed"
}
src_install() {
- use doc && dohtml -r "${WORKDIR}"/${MY_P}/documentation/api
- use doc && dohtml -r "${WORKDIR}"/hk_classestutorial
- use doc && dohtml -r "${WORKDIR}"/hk_kdeclssestutorial
- use doc && dohtml -r "${WORKDIR}"/knodascriptingtutorial
- use doc && dohtml -r "${WORKDIR}"/knodatutorial
- use doc && dohtml -r "${WORKDIR}"/pythonreference
+ if use doc; then
+ dohtml -r "${WORKDIR}"/${MY_P}/documentation/api
+ dohtml -r "${WORKDIR}"/hk_classestutorial
+ dohtml -r "${WORKDIR}"/hk_kdeclssestutorial
+ dohtml -r "${WORKDIR}"/knodascriptingtutorial
+ dohtml -r "${WORKDIR}"/knodatutorial
+ dohtml -r "${WORKDIR}"/pythonreference
+ fi
emake DESTDIR="${D}" install || die "make install failed"
}