aboutsummaryrefslogtreecommitdiffstats
path: root/java/openjdk8
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-09-16 13:39:29 +0800
committerjkim <jkim@FreeBSD.org>2015-09-16 13:39:29 +0800
commiteffd6403538112f8b3457e6325526a2936918351 (patch)
tree4c32d0198d81dc74f241ddfb736d41117d4ced5f /java/openjdk8
parentabfab63b9e861ebd67fb7ee48dd500732282bb69 (diff)
downloadfreebsd-ports-gnome-effd6403538112f8b3457e6325526a2936918351.tar.gz
freebsd-ports-gnome-effd6403538112f8b3457e6325526a2936918351.tar.zst
freebsd-ports-gnome-effd6403538112f8b3457e6325526a2936918351.zip
Do not build unnecessary targets to reduce build time.
Diffstat (limited to 'java/openjdk8')
-rw-r--r--java/openjdk8/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index 0302c454609c..5d282b3b6d19 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -249,9 +249,11 @@ TEST_DESC= Run regression tests
RELEASE_BUILD_DEPENDS_OFF= ${LOCALBASE}/bin/objcopy:${PORTSDIR}/devel/binutils
RELEASE_CONFIGURE_ON= --disable-debug-symbols
TEST_ALL_TARGET= test
+TEST_ALL_TARGET_OFF= images
TEST_CONFIGURE_ON= --with-jtreg=${WRKDIR}/jtreg
TEST_DISTFILES= jtreg${JTREG_VERSION}-${JTREG_BUILD_NUMBER}${EXTRACT_SUFX}:jtreg
.else
+ALL_TARGET= images
CONFIGURE_ARGS+= --disable-debug-symbols
JAVAVMS_COMMENT+= JRE
.endif
@@ -349,6 +351,11 @@ post-patch:
${WRKSRC}/jdk/make/lib/Awt2dLibraries.gmk \
${WRKSRC}/jdk/make/lib/CoreLibraries.gmk \
${WRKSRC}/jdk/make/lib/ServiceabilityLibraries.gmk
+.if defined(BUILD_JRE)
+ @${REINPLACE_CMD} -e 's|-f Images.gmk$$|-f Images.gmk jre-image|' \
+ -e 's|-f Images.gmk overlay-images$$|-f Images.gmk jre-overlay-image|' \
+ ${WRKSRC}/jdk/make/BuildJdk.gmk
+.endif
@${CHMOD} 755 ${WRKSRC}/configure
run-autotools-autoconf: