cvs commit: ports/math/vtk-java Makefile

Herve Quiroz herve.quiroz at esil.univ-mrs.fr
Mon Apr 25 02:02:16 PDT 2005


On Mon, Apr 25, 2005 at 03:47:50AM +0000, Sam Lawrance wrote:
> lawrance    2005-04-25 03:47:50 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     math/vtk-java        Makefile 
>   Log:
>   Fix plist error - only create example directories when WITH_TESTING is set.
>   
>   Reported by:    pointykris
>   Approved by:    clement (mentor, implicit)
>   
>   Revision  Changes    Path
>   1.6       +1 -1      ports/math/vtk-java/Makefile

I missed the previous commit in which you updated the port to
bsd.java.mk 2.0. There is a small issue with the update:

  JAVA_BUILD=	jdk

This statement is useless, as the default behaviour, when nothing is
specified (neither JAVA_BUILD, JAVA_RUN, nor JAVA_EXTRACT) is the
following:

  JAVA_BUILD=	jdk
  JAVA_RUN=	jre

Moreover, if you do specify JAVA_BUILD but not JAVA_RUN, the port will
not register any run dependency on the selected JDK:

$ cd /usr/ports/math/vtk-java
$ make run-depends-list
/usr/ports/graphics/jpeg
/usr/ports/graphics/png
/usr/ports/graphics/tiff
/usr/ports/math/vtk
/usr/ports/textproc/expat2
/usr/ports/x11/xorg-libraries

--> no JDK

I would have fixed it myself, but I took the opportunity to inform
commiters on the topic. Plus, you probably want to discuss this with the
maintainer, in case a JDK is actually not required to run the port
(which I doubt anyway).

Herve


More information about the cvs-all mailing list