Hi,

java/openjdk6 breaks with FORCE_MAKE_JOBS (it implements its own think).  The 
attached patch fixes openjdk6, marks it as MAKE_JOBS_SAFE and makes it respect 
MAKE_JOBS_NUMBER.  

Regards,

David

P.S. I'm off list
--- /usr/ports/java/openjdk6/Makefile	2010-05-22 03:05:20.000000000 +0200
+++ Makefile	2010-06-25 18:01:27.000000000 +0200
@@ -45,6 +45,7 @@
 
 # java extracts directly to the cwd
 WRKSRC=		${WRKDIR}
+MAKE_JOBS_SAFE=	yes
 
 USE_GMAKE=	yes
 USE_MOTIF=	yes
@@ -142,8 +143,11 @@
 USE_DISPLAY=	yes
 .endif
 
-BUILD_JOBS_NUMBER!=	${SYSCTL} -n kern.smp.cpus
-MAKE_ENV+=	HOTSPOT_BUILD_JOBS=${BUILD_JOBS_NUMBER}
+.if !defined(DISABLE_MAKE_JOBS)
+MAKE_ENV+=	HOTSPOT_BUILD_JOBS=${MAKE_JOBS_NUMBER}
+# HACK: stop _MAKE_JOBS being defined with -jN
+MAKE_JOBS_UNSAGE=yes
+.endif
 
 COPYDIRS=	\
 	hotspot/src/os/linux/launcher \

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to