ports/97020: [PATCH] bsd.port.mk: support for bsd.java.mk pre/post including

Herve Quiroz hq at FreeBSD.org
Tue May 9 06:30:25 UTC 2006


>Number:         97020
>Category:       ports
>Synopsis:       [PATCH] bsd.port.mk: support for bsd.java.mk pre/post including
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 09 06:30:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Herve Quiroz
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD arabica.esil.univ-mrs.fr 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed Mar 1 10:26:16 CET 2006 root at arabica.esil.univ-mrs.fr:/usr/obj/usr/src/sys/ARABICA i386


>Description:

This patch allows bsd.java.mk to be included during bsd.port.post.mk, which
means Java support can now be conditional, and depending on "pre" features such
as OPTIONS. There are currently 2 ports which do include explicitely
bsd.java.mk (devel/subversion and sysutils/sge) but I believe several other
ports could use such feature.

This new feature had been requested by Brooks Davis some months ago.

I've been using a local ports tree with this patch applied for months now and I
did not experience any problem so far. But I would like to have it tested
during an experimental build on the cluster to be sure.

>How-To-Repeat:

>Fix:

Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.532
diff -u -r1.532 bsd.port.mk
--- bsd.port.mk	2 May 2006 10:09:23 -0000	1.532
+++ bsd.port.mk	3 May 2006 09:06:53 -0000
@@ -1796,6 +1796,10 @@
 .include "${PORTSDIR}/Mk/bsd.gstreamer.mk"
 .endif
 
+.if defined(USE_JAVA)
+.include "${PORTSDIR}/Mk/bsd.java.mk"
+.endif
+
 .if defined(USE_LINUX_RPM)
 .include "${PORTSDIR}/Mk/bsd.linux-rpm.mk"
 .endif
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list