java/113081: drop down diablo-jdk15 dependencies by using USE_XORG
Baptiste Daroussin
baptiste.daroussin at gmail.com
Mon May 28 10:30:03 UTC 2007
>Number: 113081
>Category: java
>Synopsis: drop down diablo-jdk15 dependencies by using USE_XORG
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-java
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon May 28 10:30:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Baptiste Daroussin
>Release: FreeBSD 6.2-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD wicklow.lan 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The actual port for diablo jdk use : USE_XLIB which depend on xorg-libraries, which brings as a dependency the whole set of xorg libraries.
In fact java seems to really depends on those libraries :
libX11
libICE
libSM
libXext
libXi
libXp
libXt
libXtst
libXdmcp
libXau
which by the game of dependencies can be resume to :
libXi
libXp
libXt
libXtst
By replacing USE_XLIB=yes by USE_XORG+= xi xp xt xtst we can drop down the depency list from 77 to 26 which save installation/upgrade time and prevent from installing the whole set of xorg-libraries for servers without X11 like it is the case for me.
the patch is quite simple and tested on diablo-jdk15
>How-To-Repeat:
make all-depends-list | wc -l shows 77 ports
>Fix:
--- diablo-jdk15.patch begins here ---
--- Makefile Mon May 28 11:46:40 2007
+++ /root/Makefile.orig Sat May 19 22:12:34 2007
@@ -22,7 +22,7 @@
RESTRICTED= "License doesn't allow distribution with fee"
USE_BZIP2= yes
-USE_XLIB= yes
+USE_XORG+= xi xp xt xtst
ONLY_FOR_ARCHS= amd64 i386
JDK_VERSION= 1.5.0
RELEASE_VERSION=07
--- diablo-jdk15.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-java
mailing list