summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-09-18 22:18:32 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-09-18 22:18:32 +0000
commit2467c52eb6e235a4a2b2633133e9dbc5e55ed6d0 (patch)
treee41eb68c84aa224a4d0211ce6c73f228ce75d046 /dev-java/fop
parentVersion bump. (diff)
downloadgentoo-2-2467c52eb6e235a4a2b2633133e9dbc5e55ed6d0.tar.gz
gentoo-2-2467c52eb6e235a4a2b2633133e9dbc5e55ed6d0.tar.bz2
gentoo-2-2467c52eb6e235a4a2b2633133e9dbc5e55ed6d0.zip
Add a built_with_use check for dev-java/xmlgraphics-commons and the jpeg use flag. Fixes bug #192980.
(Portage version: 2.1.3.7)
Diffstat (limited to 'dev-java/fop')
-rw-r--r--dev-java/fop/ChangeLog6
-rw-r--r--dev-java/fop/fop-0.93-r1.ebuild12
2 files changed, 16 insertions, 2 deletions
diff --git a/dev-java/fop/ChangeLog b/dev-java/fop/ChangeLog
index a981a9ea0fef..88bb54ce2f63 100644
--- a/dev-java/fop/ChangeLog
+++ b/dev-java/fop/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/fop
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/ChangeLog,v 1.53 2007/08/29 13:54:37 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/ChangeLog,v 1.54 2007/09/18 22:18:32 betelgeuse Exp $
+
+ 18 Sep 2007; Petteri Räty <betelgeuse@gentoo.org> fop-0.93-r1.ebuild:
+ Add a built_with_use check for dev-java/xmlgraphics-commons and the jpeg use
+ flag. Fixes bug #192980.
29 Aug 2007; Petteri Räty <betelgeuse@gentoo.org> fop-0.20.5-r7.ebuild:
Remove dependency on ant-tasks as split ant is stable.
diff --git a/dev-java/fop/fop-0.93-r1.ebuild b/dev-java/fop/fop-0.93-r1.ebuild
index 9442b23c5310..19b3252573ef 100644
--- a/dev-java/fop/fop-0.93-r1.ebuild
+++ b/dev-java/fop/fop-0.93-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/fop-0.93-r1.ebuild,v 1.7 2007/08/21 05:13:44 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/fop-0.93-r1.ebuild,v 1.8 2007/09/18 22:18:32 betelgeuse Exp $
# TODO: if 'doc' use flag is used then should build also extra docs ('docs' ant target), currently it cannot
# be built as it needs forrest which we do not have
@@ -43,6 +43,16 @@ DEPEND=">=virtual/jdk-1.4
# dev-java/xmlunit
# )"
+pkg_setup() {
+ if ! built_with_use dev-java/xmlgraphics-commons jpeg; then
+ msg="${CATEGORY}/${P} needs dev-java/xmlgraphics-commons built with"
+ msg="${msg} the jpeg use flag"
+ eerror ${msg}
+ die "Recompile dev-java/xmlgraphics-commons with the jpeg use flag"
+ fi
+ java-pkg-2_pkg_setup
+}
+
src_unpack() {
unpack "${A}"
cd "${S}"