summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2005-12-18 13:27:33 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2005-12-18 13:27:33 +0000
commitb6fc18c7ab14eb93939db7504664f78d0793d298 (patch)
tree3689820244683631aa3c374d2541eaf9ecf55cc6 /dev-java/velocity
parentfixes a problem of anthy.dic generation. (diff)
downloadgentoo-2-b6fc18c7ab14eb93939db7504664f78d0793d298.tar.gz
gentoo-2-b6fc18c7ab14eb93939db7504664f78d0793d298.tar.bz2
gentoo-2-b6fc18c7ab14eb93939db7504664f78d0793d298.zip
Added a check for log4j being built with javamail support because velocity uses javamail specific classes from log4j.
(Portage version: 2.0.53)
Diffstat (limited to 'dev-java/velocity')
-rw-r--r--dev-java/velocity/ChangeLog6
-rw-r--r--dev-java/velocity/Manifest12
-rw-r--r--dev-java/velocity/velocity-1.4-r3.ebuild11
3 files changed, 16 insertions, 13 deletions
diff --git a/dev-java/velocity/ChangeLog b/dev-java/velocity/ChangeLog
index 25bfe0d10e77..52ab7aac5bbf 100644
--- a/dev-java/velocity/ChangeLog
+++ b/dev-java/velocity/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/velocity
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/ChangeLog,v 1.18 2005/12/09 01:50:03 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/ChangeLog,v 1.19 2005/12/18 13:27:33 betelgeuse Exp $
+
+ 18 Dec 2005; Petteri Räty <betelgeuse@gentoo.org> velocity-1.4-r3.ebuild:
+ Added a check for log4j being built with javamail support because velocity
+ uses javamail specific classes from log4j.
*velocity-1.4-r3 (09 Dec 2005)
diff --git a/dev-java/velocity/Manifest b/dev-java/velocity/Manifest
index 9dcf9406f05a..f9dbedc84c8e 100644
--- a/dev-java/velocity/Manifest
+++ b/dev-java/velocity/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 89a6a37c9ec56d01f8bbd126ece11c36 ChangeLog 2647
MD5 ebc2b845ee1e201a404b4eceb168952a files/digest-velocity-1.4-r1 65
MD5 ebc2b845ee1e201a404b4eceb168952a files/digest-velocity-1.4-r2 65
@@ -9,11 +6,4 @@ MD5 1b739fb0994afdb5b18dc46f157211f7 files/velocity-1.4-versioned_jar.patch 2237
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 63f4771f7a97fe6d62557744cc622c66 velocity-1.4-r1.ebuild 1371
MD5 5a3f2fb72b2d9e485817bb1fbeae03f1 velocity-1.4-r2.ebuild 1408
-MD5 e9a950e4b43fd2a3a135975a640da9c9 velocity-1.4-r3.ebuild 1687
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDmOLsndWRXhKOboURAvRnAJoDUS+JbfvwEsHudOhYJP3tUI4JqgCg73Aq
-NqnXtUQR8UBQ7QrvcJ2iqUs=
-=TmJ4
------END PGP SIGNATURE-----
+MD5 d10e9f087e414e3f01203997e3d73549 velocity-1.4-r3.ebuild 1963
diff --git a/dev-java/velocity/velocity-1.4-r3.ebuild b/dev-java/velocity/velocity-1.4-r3.ebuild
index 5c0a7d749b45..50e613a5bddd 100644
--- a/dev-java/velocity/velocity-1.4-r3.ebuild
+++ b/dev-java/velocity/velocity-1.4-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/velocity-1.4-r3.ebuild,v 1.1 2005/12/09 01:50:04 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/velocity-1.4-r3.ebuild,v 1.2 2005/12/18 13:27:33 betelgeuse Exp $
inherit java-pkg eutils
@@ -28,6 +28,15 @@ RDEPEND=">=virtual/jdk-1.3.1
=dev-java/servletapi-2.2*
dev-java/werken-xpath"
+pkg_setup() {
+ if ! built_with_use dev-java/log4j javamail; then
+ eerror "Velocity needs javamail specific classes built into"
+ eerror "log4j. Please re-emerge log4j with the javamail use"
+ eerror "flag turned on."
+ die "log4j not built with the javamail use flag"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd ${S}