summaryrefslogtreecommitdiff
path: root/java/bootstrap-openjdk8/Makefile
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-12 19:10:40 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-01-12 19:10:40 +0000
commita14ab5cbd0b7125459cf02cefc4969432bf9f3f5 (patch)
tree3c35646a48401abdcf9031e0d53c54b8b29d9274 /java/bootstrap-openjdk8/Makefile
parentscience/libcint: Update 3.0.15 -> 3.0.19 (diff)
java/openjdk8: add bootstrap and fix compilation for powerpc64 elfv2
Since the maintainer didn't respond, I'm adding the bootstrap to my own directory on freefall. PR: 242965 Submitted by: Mikael Urankar (original version) Approved by: java (maintainer timeout)
Notes
Notes: svn path=/head/; revision=522831
Diffstat (limited to 'java/bootstrap-openjdk8/Makefile')
-rw-r--r--java/bootstrap-openjdk8/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/java/bootstrap-openjdk8/Makefile b/java/bootstrap-openjdk8/Makefile
index 80895d8c73c7..b47e93a2e819 100644
--- a/java/bootstrap-openjdk8/Makefile
+++ b/java/bootstrap-openjdk8/Makefile
@@ -3,7 +3,8 @@
PORTNAME= openjdk8
PORTVERSION= ${DISTVERSION_${JDK_ARCH}}
CATEGORIES= java devel
-MASTER_SITES= LOCAL/jkim
+MASTER_SITES= LOCAL/jkim \
+ LOCAL/pkubaj
PKGNAMEPREFIX= bootstrap-
DISTNAME= ${JDK_PORT}-${JDK_ARCH}-${PORTVERSION}
@@ -19,7 +20,7 @@ DISTVERSION_aarch64= r453315
DISTVERSION_amd64= r450802
DISTVERSION_arm= r450802
DISTVERSION_i386= r450802
-DISTVERSION_ppc64= r455236
+DISTVERSION_ppc64= r455236 # see below for ELFv2
JDK_ARCH= ${ARCH:C/armv.*/arm/:S/powerpc/ppc/}
JDK_PORT= openjdk8
@@ -38,6 +39,10 @@ INSTALLDIR= ${STAGEDIR}${PREFIX}/${JDK_ROOT}
RUN_DEPENDS+= ${LOCALBASE}/lib/libffi.so.6:devel/libffi
.endif
+.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
+DISTVERSION_ppc64= r522831
+.endif
+
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${INSTALLDIR}
@cd ${WRKSRC} && ${COPYTREE_BIN} bin ${INSTALLDIR}