From owner-freebsd-ports@FreeBSD.ORG Fri Jun 25 16:30:17 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F904106564A for ; Fri, 25 Jun 2010 16:30:17 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EDB558FC0C for ; Fri, 25 Jun 2010 16:30:16 +0000 (UTC) Received: by wyf22 with SMTP id 22so1516566wyf.13 for ; Fri, 25 Jun 2010 09:30:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=w5G8+KXAQ/O4oYYBN/gqC2j/+mOmdfbBGOaCkj4/IWw=; b=L//UGQt99A/PyVhSykEDGsmNSDThp9l3T95i57uLsDl4+dJRJ9GcjuWdNOWXDqDeVK rgcT7ovU7k/sWU0GHFGfoZUL4ztQftZX2dbTwo0cBagtQTQrZn+8sCR1dqRL41o2K5M7 8+cU7pxcqx4Y7foArF+kTxlh8bLYlMBag6Orw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:mime-version :content-type:content-transfer-encoding:message-id; b=Wo+b5eb2AeUO3YkgfULgoTk/xlQSEFUAlAEU2Ew+cN1/zmKSHrnVyf9aPJF6c6imx/ 4nn3YO6N/qyQGKu+SeahUcpywPXbDgj78Hog29Ix1n5T3W8kI2A4SNkaIeu+CaDEPBDf zP/VjB1tSIB1SlThNYHoDf51e/I3gC4oEzOEY= Received: by 10.216.85.15 with SMTP id t15mr5255944wee.100.1277482106949; Fri, 25 Jun 2010 09:08:26 -0700 (PDT) Received: from dragon.dg (41-132-24-150.dsl.mweb.co.za [41.132.24.150]) by mx.google.com with ESMTPS id k13sm1580854wed.11.2010.06.25.09.08.23 (version=SSLv3 cipher=RC4-MD5); Fri, 25 Jun 2010 09:08:25 -0700 (PDT) From: David Naylor Organization: Private To: freebsd-ports@freebsd.org Date: Fri, 25 Jun 2010 18:08:22 +0200 User-Agent: KMail/1.13.3 (FreeBSD/9.0-CURRENT; KDE/4.4.3; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1561886.MdaH6N5W9R"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201006251808.29467.naylor.b.david@gmail.com> Subject: MAKE_JOBS and openjdk6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2010 16:30:17 -0000 --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--