Re: USE_TOOLS (or equal) for java?

Havard Eidnes <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
> >> Take 2.
> >> Change build-time dependency on JDK to JRE.
>
> Thx for the commit!
> It would probably be wise to update pkglint accordingly as well...
>
> $ pkglint
> WARN: Makefile:19: "build" is not valid for USE_JAVA. Use one of { run yes } instead.
>
> Index: files/makevars.map
> ===================================================================
> RCS file: /cvsroot/pkgsrc/pkgtools/pkglint/files/makevars.map,v
> retrieving revision 1.200
> diff -u -r1.200 makevars.map
> --- files/makevars.map  15 Sep 2009 10:03:48 -0000      1.200
> +++ files/makevars.map  2 Nov 2009 00:04:41 -0000
> @@ -1,4 +1,4 @@
> -# $NetBSD: makevars.map,v 1.200 2009/09/15 10:03:48 rillig Exp $
> +# $NetBSD: makevars.map,v 1.201 2009/11/01 01:04:20 pettai Exp $
>   #
> 
>   # This file contains the guessed type of some variables, according to
> @@ -705,7 +705,7 @@
>   USE_GNU_ICONV          Yes [m:s,c:s,o:s]
>   USE_GNU_READLINE       Yes [m:s,c:s,o:s]
>   USE_IMAKE              Yes [m:s]
> -USE_JAVA               { run yes } [$package]
> +USE_JAVA               { run yes build } [$package]
>   USE_JAVA2              { YES yes no 1.4 1.5 } [$package]
>   USE_LANGUAGES          List of { c c99 c++ fortran java objc } 
> [m:s,c:s,o:s]
>   USE_LIBTOOL            Yes [$package]

I'm entering this discussion sideways, but I wonder -- isn't
USE_JAVA=build expressing basically the same as USE_LANGUAGES+=java?

Regards,

- Håvard

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.