summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-08-13 15:57:50 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-08-13 15:57:50 +0000
commitb01746eab4a6fa083142b75e2a8a6b9c315dea9a (patch)
treea4d30000ba6fcdeba33a079f7faf728defd86652 /sci-libs/cln
parentadd gcc-4.7 version check wrt #480874 (diff)
downloadgentoo-2-b01746eab4a6fa083142b75e2a8a6b9c315dea9a.tar.gz
gentoo-2-b01746eab4a6fa083142b75e2a8a6b9c315dea9a.tar.bz2
gentoo-2-b01746eab4a6fa083142b75e2a8a6b9c315dea9a.zip
Fix sandbox violation in doc building (bug #480844), more cleanup
(Portage version: 2.2.01.22124-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs/cln')
-rw-r--r--sci-libs/cln/ChangeLog11
-rw-r--r--sci-libs/cln/cln-1.3.3.ebuild27
2 files changed, 21 insertions, 17 deletions
diff --git a/sci-libs/cln/ChangeLog b/sci-libs/cln/ChangeLog
index 067fd71890b3..7049d8e01308 100644
--- a/sci-libs/cln/ChangeLog
+++ b/sci-libs/cln/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/cln
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/ChangeLog,v 1.64 2013/08/12 20:41:32 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/ChangeLog,v 1.65 2013/08/13 15:57:50 bicatali Exp $
+
+ 13 Aug 2013; Sébastien Fabbro <bicatali@gentoo.org> cln-1.3.3.ebuild:
+ Fix sandbox violation in doc building (bug #480844), more cleanup
*cln-1.3.3 (12 Aug 2013)
@@ -100,7 +103,7 @@
*cln-1.3.1 (14 Oct 2009)
14 Oct 2009; Sébastien Fabbro <bicatali@gentoo.org> +cln-1.3.1.ebuild:
- Version bump, thanks RSebastian Mingramm for his testing.
+ Version bump, thanks Sebastian Mingramm for his testing.
*cln-1.3.0 (14 Jul 2009)
@@ -257,7 +260,7 @@
Don't assign default to S; header fix
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
+
*cln-1.1.5 (31 Aug 2002)
28 Oct 2002; George Shapovalov <george@gentoo.org> cln-1.1.15.ebuild, ChangeLog :
@@ -265,4 +268,4 @@
cleaned app (KEYWORDS, SLOT..., C[XX]FLAGS filters) and added to portage
31 Aug 2002; Pierre-Henri Jondot <Pierre-Henri.Jondot@wanadoo.fr> Changelog :
- ebuild submitted by Pierre-Henri Jondot <Pierre-Henri.Jondot@wanadoo.fr>
+ ebuild submitted by Pierre-Henri Jondot <Pierre-Henri.Jondot@wanadoo.fr>
diff --git a/sci-libs/cln/cln-1.3.3.ebuild b/sci-libs/cln/cln-1.3.3.ebuild
index 8be29628e975..75710a85c0cd 100644
--- a/sci-libs/cln/cln-1.3.3.ebuild
+++ b/sci-libs/cln/cln-1.3.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/cln-1.3.3.ebuild,v 1.1 2013/08/12 20:41:32 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cln/cln-1.3.3.ebuild,v 1.2 2013/08/13 15:57:50 bicatali Exp $
EAPI=5
@@ -15,16 +15,16 @@ SLOT="1"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="doc examples static-libs"
-DEPEND="dev-libs/gmp
+RDEPEND="dev-libs/gmp"
+DEPEND="${RDEPEND}
doc? ( virtual/latex-base )"
-RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${PN}-1.3.2-arm.patch )
pkg_setup() {
- use sparc && append-cppflags "-DNO_ASM"
- use hppa && append-cppflags "-DNO_ASM"
- use arm && append-cppflags "-DNO_ASM"
+ use sparc && append-cppflags -DNO_ASM
+ use hppa && append-cppflags -DNO_ASM
+ use arm && append-cppflags -DNO_ASM
}
src_prepare() {
@@ -36,20 +36,21 @@ src_prepare() {
autotools-utils_src_prepare
}
-src_configure () {
- local myeconfargs=( --datadir="${EPREFIX}"/usr/share/doc/${PF} )
- autotools-utils_src_configure
-}
src_compile() {
autotools-utils_src_compile
- use doc && autotools-utils_src_compile html pdf
+ if use doc; then
+ cd "${BUILD_DIR}"
+ export VARTEXFONTS="${T}/fonts"
+ emake html pdf
+ DOCS=("${BUILD_DIR}/doc/cln.pdf")
+ HTML_DOCS=("${BUILD_DIR}/doc/")
+ fi
}
src_install () {
- use doc && \
- DOCS=("${BUILD_DIR}/doc/cln.pdf") && HTML_DOCS=("${BUILD_DIR}/doc/")
autotools-utils_src_install
if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
insinto /usr/share/doc/${PF}/examples
doins examples/*.cc
fi