pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USE_TOOLS (or equal) for java?



> >> 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
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index