mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 02:16:27 -04:00
. Mark MAKE_JOBS_SAFE.
. Use MAKE_JOBS_NUMBER as HOTSPOT_BUILD_JOBS. PR: 148753 Submitted by: David Naylor <naylor.b.david@gmail.com>
This commit is contained in:
parent
abff9e46a8
commit
83df85589b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258608
2 changed files with 10 additions and 7 deletions
|
@ -27,7 +27,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|||
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${ANTFILE}
|
||||
|
||||
MAINTAINER= java@FreeBSD.org
|
||||
COMMENT= Sun's java 6 virtual machine release under the GPL v2
|
||||
COMMENT= Oracle's Java 6 virtual machine release under the GPL v2
|
||||
|
||||
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \
|
||||
unzip:${PORTSDIR}/archivers/unzip \
|
||||
|
@ -52,6 +52,7 @@ WRKSRC= ${WRKDIR}
|
|||
USE_GMAKE= yes
|
||||
USE_MOTIF= yes
|
||||
USE_XORG= xtst xi xt x11
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
JAXP_BUILD= b20
|
||||
JAXPFILE= jdk6-jaxp-${JAXP_BUILD}.zip
|
||||
|
@ -145,8 +146,9 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu
|
|||
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}
|
||||
.endif
|
||||
|
||||
COPYDIRS= \
|
||||
hotspot/src/os/linux/launcher \
|
||||
|
|
|
@ -33,9 +33,10 @@ ANT_DISTFILE= apache-ant-${ANT_VERSION}-bin
|
|||
|
||||
LATEST_LINK= openjdk7
|
||||
|
||||
USE_GMAKE= YES
|
||||
USE_ICONV= YES
|
||||
USE_GMAKE= yes
|
||||
USE_ICONV= yes
|
||||
USE_XORG+= x11 xext xi xrender xt xtst
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
|
||||
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
|
||||
|
@ -73,8 +74,8 @@ MAKE_ENV+= LANG="C" \
|
|||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
MILESTONE="fcs"
|
||||
|
||||
.if defined(HOTSPOT_BUILD_JOBS)
|
||||
MAKE_ENV+= HOTSPOT_BUILD_JOBS="${HOTSPOT_BUILD_JOBS}"
|
||||
.if !defined(DISABLE_MAKE_JOBS)
|
||||
MAKE_ENV+= HOTSPOT_BUILD_JOBS=${MAKE_JOBS_NUMBER}
|
||||
.endif
|
||||
|
||||
BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk7 \
|
||||
|
|
Loading…
Add table
Reference in a new issue