/[gentoo-x86]/eclass/java-utils-2.eclass
Gentoo

Diff of /eclass/java-utils-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.33 Revision 1.34
4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> 4# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org>
5# Copyright (c) 2004-2005, Gentoo Foundation 5# Copyright (c) 2004-2005, Gentoo Foundation
6# 6#
7# Licensed under the GNU General Public License, v2 7# Licensed under the GNU General Public License, v2
8# 8#
9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.33 2006/12/07 02:27:22 flameeyes Exp $ 9# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.34 2006/12/08 12:12:04 betelgeuse Exp $
10 10
11 11
12# ----------------------------------------------------------------------------- 12# -----------------------------------------------------------------------------
13# @eclass-begin 13# @eclass-begin
14# @eclass-shortdesc Java Utility eclass 14# @eclass-shortdesc Java Utility eclass
261 fi 261 fi
262 done 262 done
263 263
264 java-pkg_do_write_ 264 java-pkg_do_write_
265} 265}
266
267 266
268# ------------------------------------------------------------------------------ 267# ------------------------------------------------------------------------------
269# @ebuild-function java-pkg_newjar 268# @ebuild-function java-pkg_newjar
270# 269#
271# Installs a jar with a new name 270# Installs a jar with a new name
1292 die "No GCJ support found!" 1291 die "No GCJ support found!"
1293 fi 1292 fi
1294} 1293}
1295 1294
1296java-pkg_ensure-test() { 1295java-pkg_ensure-test() {
1297 if hasq test ${FEATURES} && ! hasq -test ${FEATURES} && ! use test; then 1296 if hasq test ${FEATURES} && ! hasq -test ${FEATURES} \
1297 && hasq test ${IUSE} && ! use test;
1298 then
1298 eerror "You specified FEATURES=test, but USE=test is needed" 1299 eerror "You specified FEATURES=test, but USE=test is needed"
1299 eerror "to pull in the additional dependencies for testing" 1300 eerror "to pull in the additional dependencies for testing"
1300 die "Need USE=test enabled" 1301 die "Need USE=test enabled"
1301 fi 1302 fi
1302} 1303}

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

  ViewVC Help
Powered by ViewVC 1.1.20