summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/lazarus/ChangeLog6
-rw-r--r--dev-lang/lazarus/lazarus-0.9.26.ebuild16
2 files changed, 10 insertions, 12 deletions
diff --git a/dev-lang/lazarus/ChangeLog b/dev-lang/lazarus/ChangeLog
index 2343db1ee9f0..13ce99d01008 100644
--- a/dev-lang/lazarus/ChangeLog
+++ b/dev-lang/lazarus/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/lazarus
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.23 2009/03/07 22:29:30 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.24 2009/03/07 22:32:52 fauli Exp $
+
+ 07 Mar 2009; Christian Faulhammer <fauli@gentoo.org>
+ lazarus-0.9.26.ebuild:
+ use EAPI 2 for USE flag check
07 Mar 2009; Christian Faulhammer <fauli@gentoo.org>
-files/lazarus-0.9.20-fpcsrc.patch, -files/lazarus-0.9.24-cputarget.patch,
diff --git a/dev-lang/lazarus/lazarus-0.9.26.ebuild b/dev-lang/lazarus/lazarus-0.9.26.ebuild
index d5bc1f0cd85a..d948d048d291 100644
--- a/dev-lang/lazarus/lazarus-0.9.26.ebuild
+++ b/dev-lang/lazarus/lazarus-0.9.26.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.26.ebuild,v 1.2 2008/10/17 19:13:56 truedfx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.26.ebuild,v 1.3 2009/03/07 22:32:52 fauli Exp $
+
+EAPI=2
inherit eutils
@@ -17,7 +19,7 @@ HOMEPAGE="http://www.lazarus.freepascal.org/"
IUSE=""
SRC_URI="mirror://sourceforge/lazarus/${P}-0.tgz"
-DEPEND="~dev-lang/fpc-${FPCVER}
+DEPEND="~dev-lang/fpc-${FPCVER}[source]
net-misc/rsync
>=x11-libs/gtk+-2.0"
RDEPEND="${DEPEND}
@@ -25,14 +27,6 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/${PN}
-pkg_setup() {
- if ! built_with_use "dev-lang/fpc" source; then
- eerror "You need to build dev-lang/fpc with the 'source' USE flag"
- eerror "in order for lazarus to work properly."
- die "lazarus needs fpc built with the 'source' USE to work."
- fi
-}
-
src_unpack() {
# check for broken fpc.cfg
# don't check in pkg_setup since it won't harm binpkgs