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
commit2a2139186cb04522c3ec0d4b7b4d9ceb545c5d78 (patch)
treeea60f1d3cc044fe9d350615718ef7fc820d68e6e /dev-java/velocity
parentfixes a problem of anthy.dic generation. (diff)
downloadhistorical-2a2139186cb04522c3ec0d4b7b4d9ceb545c5d78.tar.gz
historical-2a2139186cb04522c3ec0d4b7b4d9ceb545c5d78.tar.bz2
historical-2a2139186cb04522c3ec0d4b7b4d9ceb545c5d78.zip
Added a check for log4j being built with javamail support because velocity uses javamail specific classes from log4j.
Package-Manager: portage-2.0.53
Diffstat (limited to 'dev-java/velocity')
-rw-r--r--dev-java/velocity/ChangeLog6
-rw-r--r--dev-java/velocity/Manifest10
-rw-r--r--dev-java/velocity/velocity-1.4-r3.ebuild11
3 files changed, 20 insertions, 7 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..61f7b2463b5b 100644
--- a/dev-java/velocity/Manifest
+++ b/dev-java/velocity/Manifest
@@ -1,7 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 89a6a37c9ec56d01f8bbd126ece11c36 ChangeLog 2647
+MD5 0f8a8bf7b0438c7dd2d23bfe84fa5668 ChangeLog 2851
MD5 ebc2b845ee1e201a404b4eceb168952a files/digest-velocity-1.4-r1 65
MD5 ebc2b845ee1e201a404b4eceb168952a files/digest-velocity-1.4-r2 65
MD5 ebc2b845ee1e201a404b4eceb168952a files/digest-velocity-1.4-r3 65
@@ -9,11 +9,11 @@ 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
+MD5 9d9e7b2b66686b0e291b1544631f0aaf velocity-1.4-r3.ebuild 1967
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDmOLsndWRXhKOboURAvRnAJoDUS+JbfvwEsHudOhYJP3tUI4JqgCg73Aq
-NqnXtUQR8UBQ7QrvcJ2iqUs=
-=TmJ4
+iD8DBQFDpWPTQiJ/wx066S4RAj1MAJ4sJoXXZz0f63bRbepjvwIU1T4bEwCcC1sO
+MOWJwnCF+ZGJ3xNHVfAC/Is=
+=RPa7
-----END PGP SIGNATURE-----
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}