summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2006-09-09 13:42:10 +0000
committerHarald van Dijk <truedfx@gentoo.org>2006-09-09 13:42:10 +0000
commitae4e49d945ae6840c91249c0424d375915287ca7 (patch)
tree95bfd36208fe1d85cb057456740d19fb7da766c0 /dev-lang/fpc
parentremoved nogulm USE-flag. (diff)
downloadgentoo-2-ae4e49d945ae6840c91249c0424d375915287ca7.tar.gz
gentoo-2-ae4e49d945ae6840c91249c0424d375915287ca7.tar.bz2
gentoo-2-ae4e49d945ae6840c91249c0424d375915287ca7.zip
Use pregenerated docs to avoid sandbox violations (#146804)
(Portage version: 2.1.1)
Diffstat (limited to 'dev-lang/fpc')
-rw-r--r--dev-lang/fpc/ChangeLog5
-rw-r--r--dev-lang/fpc/files/digest-fpc-2.0.43
-rw-r--r--dev-lang/fpc/fpc-2.0.4.ebuild23
3 files changed, 19 insertions, 12 deletions
diff --git a/dev-lang/fpc/ChangeLog b/dev-lang/fpc/ChangeLog
index bdc37de022b9..0aae96705fb9 100644
--- a/dev-lang/fpc/ChangeLog
+++ b/dev-lang/fpc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/fpc
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/ChangeLog,v 1.31 2006/08/31 18:21:38 truedfx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/ChangeLog,v 1.32 2006/09/09 13:42:10 truedfx Exp $
+
+ 09 Sep 2006; Harald van Dijk <truedfx@gentoo.org> fpc-2.0.4.ebuild:
+ Use pregenerated docs to avoid sandbox violations (#146804)
31 Aug 2006; Harald van Dijk <truedfx@gentoo.org> fpc-2.0.4.ebuild:
Fix set_pp for amd64 & ppc
diff --git a/dev-lang/fpc/files/digest-fpc-2.0.4 b/dev-lang/fpc/files/digest-fpc-2.0.4
index 30503bd1be94..265914d49fa2 100644
--- a/dev-lang/fpc/files/digest-fpc-2.0.4
+++ b/dev-lang/fpc/files/digest-fpc-2.0.4
@@ -13,3 +13,6 @@ SHA256 619ce0b4e93d0e8f6334443f2a950bfa1281b2c4d21033b8a54e84942b2406ee fpc-2.0.
MD5 1ff8b80d1f5f564983bb4e1550b8b53a fpcbuild-2.0.4.tar.gz 26749033
RMD160 7f9d8776fff666e4d946c059dc2167c2ec4d0f0b fpcbuild-2.0.4.tar.gz 26749033
SHA256 4cb307dcb0d0d5cf0a3d0cd6abca917c7002ffb1fc96363ce42121dfa9aeaf6b fpcbuild-2.0.4.tar.gz 26749033
+MD5 02e8577cbbef0d5fafb3c011135b085d fpcdocs-2.0.4.tar.bz2 6590850
+RMD160 02d06e23e69671a0c72876099b6f2be0f9af3b70 fpcdocs-2.0.4.tar.bz2 6590850
+SHA256 175af23d071cf9ddca04533cb5ed1b781d56b5501040c8405d1a3078c22bdaf0 fpcdocs-2.0.4.tar.bz2 6590850
diff --git a/dev-lang/fpc/fpc-2.0.4.ebuild b/dev-lang/fpc/fpc-2.0.4.ebuild
index 6c6a5ec70cf4..031e716fe069 100644
--- a/dev-lang/fpc/fpc-2.0.4.ebuild
+++ b/dev-lang/fpc/fpc-2.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.0.4.ebuild,v 1.2 2006/08/31 18:21:38 truedfx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/fpc/fpc-2.0.4.ebuild,v 1.3 2006/09/09 13:42:10 truedfx Exp $
inherit eutils
@@ -13,7 +13,8 @@ SRC_URI="mirror://sourceforge/freepascal/fpcbuild-${PV}.tar.gz
x86? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.i386-linux.tar )
sparc? ( mirror://sourceforge/freepascal/fpc-2.0.0.sparc-linux.tar )
ppc? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.powerpc-linux.tar )
- amd64? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.x86_64-linux.tar )"
+ amd64? ( mirror://sourceforge/freepascal/fpc-${PV_BIN}.x86_64-linux.tar )
+ doc? ( mirror://gentoo/fpcdocs-${PV}.tar.bz2 )"
SLOT="0"
LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-FPC"
@@ -21,10 +22,8 @@ KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc source"
DEPEND="!dev-lang/fpc-bin
- !dev-lang/fpc-source
- doc? ( virtual/tetex )"
-RDEPEND="!dev-lang/fpc-bin
!dev-lang/fpc-source"
+# doc? ( virtual/tetex )
src_unpack() {
case ${ARCH} in
@@ -84,10 +83,11 @@ src_compile() {
emake -j1 PP="${pp}" rtl packages_base_all fcl fv packages_extra_all utils || die "make failed"
- if use doc ; then
- cd "${S}"/../fpcdocs
- emake -j1 pdf || die "make pdf failed!"
- fi
+ # Use pregenerated docs to avoid sandbox violations (#146804)
+ #if use doc ; then
+ # cd "${S}"/../fpcdocs
+ # emake -j1 pdf || die "make pdf failed!"
+ #fi
}
src_install() {
@@ -116,8 +116,9 @@ src_install() {
fi
if ! has nodoc ${FEATURES} && use doc ; then
- cd "${S}"/../fpcdocs
- emake -j1 "$@" pdfinstall || die "make pdfinstall failed"
+ dodoc "${WORKDIR}"/${P}/*.pdf
+ #cd "${S}"/../fpcdocs
+ #emake -j1 "$@" pdfinstall || die "make pdfinstall failed"
fi
if use source ; then