summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2009-12-22 22:59:30 +0000
committerJonathan Callen <jcallen@gentoo.org>2009-12-22 22:59:30 +0000
commitd52a90b41a97f26c058a82bef66f2821075d4aa7 (patch)
tree1abdd2ca786d00c355c46bd42cf17b7c5b4d9671 /kde-base/kalzium/kalzium-4.3.4.ebuild
parentPull in changes from overlay and patch for prefix support (Solaris) (diff)
downloadhistorical-d52a90b41a97f26c058a82bef66f2821075d4aa7.tar.gz
historical-d52a90b41a97f26c058a82bef66f2821075d4aa7.tar.bz2
historical-d52a90b41a97f26c058a82bef66f2821075d4aa7.zip
Pull in changes from overlay and fix for prefix support (Solaris)
Package-Manager: portage--svn/cvs/Linux i686
Diffstat (limited to 'kde-base/kalzium/kalzium-4.3.4.ebuild')
-rw-r--r--kde-base/kalzium/kalzium-4.3.4.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/kde-base/kalzium/kalzium-4.3.4.ebuild b/kde-base/kalzium/kalzium-4.3.4.ebuild
index a9ed34b86aeb..645d780d99f8 100644
--- a/kde-base/kalzium/kalzium-4.3.4.ebuild
+++ b/kde-base/kalzium/kalzium-4.3.4.ebuild
@@ -1,27 +1,26 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/kalzium-4.3.4.ebuild,v 1.1 2009/12/01 10:01:27 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/kalzium-4.3.4.ebuild,v 1.2 2009/12/22 22:59:30 abcd Exp $
EAPI="2"
KMNAME="kdeedu"
CPPUNIT_REQUIRED="optional"
OPENGL_REQUIRED="always"
-inherit kde4-meta
+inherit flag-o-matic kde4-meta
DESCRIPTION="KDE: periodic table of the elements."
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="editor debug +handbook +plasma solver"
-COMMON_DEPEND="
+RDEPEND="
$(add_kdebase_dep libkdeedu)
editor? ( >=sci-chemistry/openbabel-2.2 )
"
-DEPEND="${COMMON_DEPEND}
+DEPEND="${RDEPEND}
editor? ( >=dev-cpp/eigen-2.0.3:2 )
solver? ( dev-ml/facile[ocamlopt] )
"
-RDEPEND="${COMMON_DEPEND}"
KMEXTRACTONLY="
libkdeedu/kdeeduui/
@@ -29,12 +28,16 @@ KMEXTRACTONLY="
"
src_configure(){
- mycmakeargs="${mycmakeargs}
+ # Fix missing finite()
+ [[ ${CHOST} == *-solaris* ]] && append-cppflags -DHAVE_IEEEFP_H
+
+ mycmakeargs=(
$(cmake-utils_use_with editor Eigen2)
$(cmake-utils_use_with editor OpenBabel2)
$(cmake-utils_use_with editor OpenGL)
$(cmake-utils_use_with solver OCaml)
- $(cmake-utils_use_with solver Libfacile)"
+ $(cmake-utils_use_with solver Libfacile)
+ )
kde4-meta_src_configure
}