summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2009-06-25 20:37:52 +0000
committerHarald van Dijk <truedfx@gentoo.org>2009-06-25 20:37:52 +0000
commitbf5ff17d2616b94fbe8e995895231d5ca7fbbd81 (patch)
tree4018641fe6abdad475b3627ac7a60234d2869bb9 /dev-lang
parentDon't try to create fp config files in /usr during build (bug #274518 by Paul... (diff)
downloadgentoo-2-bf5ff17d2616b94fbe8e995895231d5ca7fbbd81.tar.gz
gentoo-2-bf5ff17d2616b94fbe8e995895231d5ca7fbbd81.tar.bz2
gentoo-2-bf5ff17d2616b94fbe8e995895231d5ca7fbbd81.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')
-rw-r--r--dev-lang/fpc-ide/ChangeLog6
-rw-r--r--dev-lang/fpc-ide/fpc-ide-2.2.4.ebuild5
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-lang/fpc-ide/ChangeLog b/dev-lang/fpc-ide/ChangeLog
index e2247d102d6a..85195b73aaf5 100644
--- a/dev-lang/fpc-ide/ChangeLog
+++ b/dev-lang/fpc-ide/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/fpc-ide
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/ChangeLog,v 1.14 2009/06/09 21:04:09 truedfx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/ChangeLog,v 1.15 2009/06/25 20:37:52 truedfx Exp $
+
+ 25 Jun 2009; Harald van Dijk <truedfx@gentoo.org> fpc-ide-2.2.4.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> fpc-ide-2.2.4.ebuild:
Build with clean fpc config, add note about documentation
diff --git a/dev-lang/fpc-ide/fpc-ide-2.2.4.ebuild b/dev-lang/fpc-ide/fpc-ide-2.2.4.ebuild
index be1e339f05b2..3fdb27466494 100644
--- a/dev-lang/fpc-ide/fpc-ide-2.2.4.ebuild
+++ b/dev-lang/fpc-ide/fpc-ide-2.2.4.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/fpc-ide/fpc-ide-2.2.4.ebuild,v 1.2 2009/06/09 21:04:09 truedfx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc-ide/fpc-ide-2.2.4.ebuild,v 1.3 2009/06/25 20:37:52 truedfx Exp $
S="${WORKDIR}/fpcbuild-${PV}/fpcsrc/ide"
@@ -25,7 +25,8 @@ src_unpack() {
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
}