summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2009-06-25 20:36:51 +0000
committerHarald van Dijk <truedfx@gentoo.org>2009-06-25 20:36:51 +0000
commit6fd8f4f758e4f60a1e8b0c64ff7eec5629de3c9f (patch)
treecc50136f9faaca2912bedeac99acc724692a283e /dev-lang/lazarus
parentdrop qt meta package (diff)
downloadgentoo-2-6fd8f4f758e4f60a1e8b0c64ff7eec5629de3c9f.tar.gz
gentoo-2-6fd8f4f758e4f60a1e8b0c64ff7eec5629de3c9f.tar.bz2
gentoo-2-6fd8f4f758e4f60a1e8b0c64ff7eec5629de3c9f.zip
Don't try to create fp config files in /usr during build (bug #274518 by Paul Hartman)
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'dev-lang/lazarus')
-rw-r--r--dev-lang/lazarus/ChangeLog7
-rw-r--r--dev-lang/lazarus/lazarus-0.9.26-r3.ebuild5
2 files changed, 9 insertions, 3 deletions
diff --git a/dev-lang/lazarus/ChangeLog b/dev-lang/lazarus/ChangeLog
index c6aa8f4846bc..e8781616a4f1 100644
--- a/dev-lang/lazarus/ChangeLog
+++ b/dev-lang/lazarus/ChangeLog
@@ -1,6 +1,11 @@
# 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.28 2009/06/09 21:04:09 truedfx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.29 2009/06/25 20:36:51 truedfx Exp $
+
+ 25 Jun 2009; Harald van Dijk <truedfx@gentoo.org>
+ lazarus-0.9.26-r3.ebuild:
+ Don't try to create fp config files in /usr during build (bug #274518 by
+ Paul Hartman)
09 Jun 2009; Harald van Dijk <truedfx@gentoo.org>
lazarus-0.9.26-r3.ebuild:
diff --git a/dev-lang/lazarus/lazarus-0.9.26-r3.ebuild b/dev-lang/lazarus/lazarus-0.9.26-r3.ebuild
index 688e14fdbbf3..69fb1b3dea23 100644
--- a/dev-lang/lazarus/lazarus-0.9.26-r3.ebuild
+++ b/dev-lang/lazarus/lazarus-0.9.26-r3.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-lang/lazarus/lazarus-0.9.26-r3.ebuild,v 1.3 2009/06/09 21:08:05 truedfx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.26-r3.ebuild,v 1.4 2009/06/25 20:36:51 truedfx Exp $
EAPI=2
@@ -34,7 +34,8 @@ src_prepare() {
if ! test ${PPC_CONFIG_PATH+set} ; then
local FPCVER=$(fpc -iV)
export PPC_CONFIG_PATH="${WORKDIR}"
- /usr/lib/fpc/${FPCVER}/samplecfg /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
+ sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
+ sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die
fi
}