Re: USE_TOOLS (or equal) for java?

Fredrik Pettai <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
On 10/19/09 12:31 PM, Fredrik Pettai wrote:
> On Oct 13, 2009, at 5:03 AM, OBATA Akio wrote:
>> On Wed, 30 Sep 2009 16:59:41 +0900, Fredrik Pettai
>> <[email protected]>  wrote:
>>
>>> On Sep 30, 2009, at 9:52 AM, OBATA Akio wrote:
>>>> On Wed, 30 Sep 2009 16:40:51 +0900, Fredrik Pettai
>>>> <[email protected]>  wrote:
>>>>
>>>>> Will you get that patch commited to pkgsrc-current?
>>>>
>>>> Maybe, after feature freeze for 2009Q3.
>>>> (If I forget, please build a fire under me:)
>>>
>>> I can file a PR, then it won't be forgotten.
>>
>> 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]

------------------------------------------------------------------------------
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.