cvs commit: ports/Mk bsd.java.mk

Greg Lewis glewis at FreeBSD.org
Mon Aug 2 14:44:17 PDT 2004


glewis      2004-08-02 21:44:17 UTC

  FreeBSD ports repository

  Modified files:
    Mk                   bsd.java.mk 
  Log:
  . Add a USE_ANT variable with that provides a simple way to build a
    Java-based port with ant, using MAKE_ENV, MAKE_ARGS and ALL_TARGET but
    using ant instead of make.  When a port is built this way it also
    causes ant to respect the JDK selected by bsd.java.mk rather than
    using the JDK that ant was build with.
  
    Most ports should just be able to do
  
    USE_ANT=      yes
  
    You may also need to set ALL_TARGET if your port doesn't use the
    default ant target.
  
    See the comments on USE_ANT at the head of bsd.java.mk for more
    information.
  
  PR:             59997
  Reviewed by:    hq (who spotted a bug and provided the comments
                      documenting USE_ANT).
  
  Revision  Changes    Path
  1.51      +25 -1     ports/Mk/bsd.java.mk


More information about the cvs-ports mailing list