Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2010 18:08:22 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   MAKE_JOBS and openjdk6
Message-ID:  <201006251808.29467.naylor.b.david@gmail.com>

next in thread | raw e-mail | index | archive | help
--nextPart1561886.MdaH6N5W9R
Content-Type: multipart/mixed;
  boundary="Boundary-01=_2RNJMQ2ZfADo382"
Content-Transfer-Encoding: 7bit


--Boundary-01=_2RNJMQ2ZfADo382
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

java/openjdk6 breaks with FORCE_MAKE_JOBS (it implements its own think).  T=
he=20
attached patch fixes openjdk6, marks it as MAKE_JOBS_SAFE and makes it resp=
ect=20
MAKE_JOBS_NUMBER. =20

Regards,

David

P.S. I'm off list

--Boundary-01=_2RNJMQ2ZfADo382
Content-Type: text/x-patch;
  charset="ISO-8859-1";
  name="openjdk6.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="openjdk6.diff"

=2D-- /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 @@
=20
 # java extracts directly to the cwd
 WRKSRC=3D		${WRKDIR}
+MAKE_JOBS_SAFE=3D	yes
=20
 USE_GMAKE=3D	yes
 USE_MOTIF=3D	yes
@@ -142,8 +143,11 @@
 USE_DISPLAY=3D	yes
 .endif
=20
=2DBUILD_JOBS_NUMBER!=3D	${SYSCTL} -n kern.smp.cpus
=2DMAKE_ENV+=3D	HOTSPOT_BUILD_JOBS=3D${BUILD_JOBS_NUMBER}
+.if !defined(DISABLE_MAKE_JOBS)
+MAKE_ENV+=3D	HOTSPOT_BUILD_JOBS=3D${MAKE_JOBS_NUMBER}
+# HACK: stop _MAKE_JOBS being defined with -jN
+MAKE_JOBS_UNSAGE=3Dyes
+.endif
=20
 COPYDIRS=3D	\
 	hotspot/src/os/linux/launcher \

--Boundary-01=_2RNJMQ2ZfADo382--

--nextPart1561886.MdaH6N5W9R
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEABECAAYFAkwk1H0ACgkQUaaFgP9pFrI5hwCeMyqt25lgyCbwrF9yg3YOv/FV
DyUAn1DaH+faM36f2gWFgNUcrw9H3hJw
=cARv
-----END PGP SIGNATURE-----

--nextPart1561886.MdaH6N5W9R--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006251808.29467.naylor.b.david>