diff options
Diffstat (limited to 'dev-java/velocity/velocity-1.4-r3.ebuild')
-rw-r--r-- | dev-java/velocity/velocity-1.4-r3.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
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} |