diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2009-06-09 21:04:10 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2009-06-09 21:04:10 +0000 |
commit | cb0e2ef9bf9aadca6b80651ed7c33f8a80ec4727 (patch) | |
tree | 708d9b2652aa1ae77533187172b23d87ac41f1d2 /dev-lang/lazarus | |
parent | Protoize is removed in 4.5. Bug #270558. (diff) | |
download | historical-cb0e2ef9bf9aadca6b80651ed7c33f8a80ec4727.tar.gz historical-cb0e2ef9bf9aadca6b80651ed7c33f8a80ec4727.tar.bz2 historical-cb0e2ef9bf9aadca6b80651ed7c33f8a80ec4727.zip |
fpc: Install HTML documentation for fpc-ide; fpc/fpc-ide/lazarus: use clean fpc configuration and drop warnings about fpc.cfg
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'dev-lang/lazarus')
-rw-r--r-- | dev-lang/lazarus/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/lazarus/lazarus-0.9.26-r3.ebuild | 24 |
2 files changed, 14 insertions, 16 deletions
diff --git a/dev-lang/lazarus/ChangeLog b/dev-lang/lazarus/ChangeLog index 6139f8709d38..c6aa8f4846bc 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.27 2009/05/12 18:24:27 truedfx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.28 2009/06/09 21:04:09 truedfx Exp $ + + 09 Jun 2009; Harald van Dijk <truedfx@gentoo.org> + lazarus-0.9.26-r3.ebuild: + Build with clean fpc config *lazarus-0.9.26-r3 (12 May 2009) diff --git a/dev-lang/lazarus/lazarus-0.9.26-r3.ebuild b/dev-lang/lazarus/lazarus-0.9.26-r3.ebuild index 47752e580f5e..b3260952e37c 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.1 2009/05/12 18:24:27 truedfx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.26-r3.ebuild,v 1.2 2009/06/09 21:04:09 truedfx Exp $ EAPI=2 @@ -26,23 +26,17 @@ DEPEND="${DEPEND} S=${WORKDIR}/${PN} -src_unpack() { - # check for broken fpc.cfg - # don't check in pkg_setup since it won't harm binpkgs - if grep -q '^[ ]*-Fu.*/lcl$' /etc/fpc.cfg - then - eerror "Your /etc/fpc.cfg automatically adds a LCL directory" - eerror "to the list of unit directories. This will break the" - eerror "build of lazarus." - die "don't set the LCL path in /etc/fpc.cfg" - fi - - default -} - src_prepare() { epatch "${FILESDIR}"/${P}-fpcsrc.patch epatch "${FILESDIR}"/${P}-clipboard-crash.patch #269221 + + # Use default configuration (minus stripping) unless specifically requested otherwise + if ! test ${PPC_CONFIG_PATH} ; then + local FPCVER=$(fpc -iV) + export PPC_CONFIG_PATH="${WORKDIR}" + /usr/lib/fpc/${FPCVER}/samplecfg /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die + sed -i -e '/^-Xs/d' "${PPC_CONFIG_PATH}"/fpc.cfg || die + fi } src_compile() { |