summaryrefslogtreecommitdiff
path: root/java/openjdk12
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2019-03-21 17:31:47 +0000
committerGreg Lewis <glewis@FreeBSD.org>2019-03-21 17:31:47 +0000
commit2f1232fbff166441aa30ca2bafe457cad395dca7 (patch)
tree1a3198adde235444bc9e16727fd936d1e2bba92c /java/openjdk12
parentSupport i386 (diff)
Remove openjdk12 to try a repo copy again.
Notes
Notes: svn path=/head/; revision=496479
Diffstat (limited to 'java/openjdk12')
-rw-r--r--java/openjdk12/Makefile137
-rw-r--r--java/openjdk12/distinfo3
-rw-r--r--java/openjdk12/files/cacertsbin102225 -> 0 bytes
-rw-r--r--java/openjdk12/files/patch-configure14
-rw-r--r--java/openjdk12/pkg-descr3
-rw-r--r--java/openjdk12/pkg-message16
6 files changed, 0 insertions, 173 deletions
diff --git a/java/openjdk12/Makefile b/java/openjdk12/Makefile
deleted file mode 100644
index 3f1a138df698..000000000000
--- a/java/openjdk12/Makefile
+++ /dev/null
@@ -1,137 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= openjdk
-PORTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}.${JDK_BUILD_NUMBER}.${BSD_JDK_VERSION}
-CATEGORIES= java devel
-MASTER_SITES= https://github.com/battleblow/openjdk-jdk12u/archive/
-PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION}
-DISTNAME= jdk-${JDK_MAJOR_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION}
-
-MAINTAINER= java@FreeBSD.org
-COMMENT= Java Development Kit ${JDK_MAJOR_VERSION}
-
-LICENSE= GPLv2
-
-ONLY_FOR_ARCHS= amd64
-
-BUILD_DEPENDS= zip:archivers/zip \
- autoconf>0:devel/autoconf \
- ${LOCALBASE}/include/cups/cups.h:print/cups \
- bash:shells/bash
-LIB_DEPENDS= libfreetype.so:print/freetype2 \
- libfontconfig.so:x11-fonts/fontconfig \
- liblcms2.so:graphics/lcms2 \
- libgif.so:graphics/giflib \
- libpng16.so:graphics/png
-
-USES= compiler:features gmake iconv jpeg pkgconfig
-USE_XORG= xext x11 xrender xtst xi xt xrandr
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-jdk${JDK_MAJOR_VERSION}u-jdk-${JDK_MAJOR_VERSION}-${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION}
-
-_MAKE_JOBS= #
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-MAKE_ENV= LANG="C" \
- LC_ALL="C" \
- CLASSPATH="" \
- JAVA_HOME="" \
- LD_LIBRARY_PATH="" \
- LDFLAGS=-L${LOCALBASE}/lib \
- CC=/usr/bin/cc \
- CXX=/usr/bin/c++ \
- MAKEFLAGS="" \
- USE_CLANG=true
-
-JDK_OSARCH= bsd-${ARCH:S/amd64/x86_64/:S/i386/x86/}
-JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE}
-JDK_IMAGEDIR= ${JDK_BUILDDIR}/images/jdk
-INSTALLDIR= ${PREFIX}/${PKGBASE}
-
-NOPRECIOUSMAKEVARS= yes
-
-JDK_MAJOR_VERSION= 12
-JDK_MINOR_VERSION= 0
-JDK_PATCH_VERSION= 0
-JDK_BUILD_NUMBER= 33
-BSD_JDK_VERSION= 1
-
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CC=/usr/bin/cc \
- CXX=/usr/bin/c++
-CONFIGURE_ARGS= --with-boot-jdk=${BOOTSTRAPJDKDIR} \
- --disable-ccache \
- --disable-dtrace \
- --disable-javac-server \
- --disable-hotspot-gtest \
- --with-alsa=${LOCALBASE} \
- --with-cups=${LOCALBASE} \
- --with-fontconfig=${LOCALBASE} \
- --with-freetype=system \
- --with-freetype-include=${LOCALBASE}/include/freetype2 \
- --with-freetype-lib=${LOCALBASE}/lib \
- --with-libjpeg=system \
- --with-giflib=system \
- --with-libpng=system \
- --with-zlib=system \
- --with-lcms=system \
- --with-extra-cflags=-I${LOCALBASE}/include \
- --with-extra-cxxflags=-I${LOCALBASE}/include \
- --with-extra-ldflags=-L${LOCALBASE}/lib \
- --with-toolchain-type=clang \
- --x-includes=${LOCALBASE}/include \
- --x-libraries=${LOCALBASE}/lib \
- --with-package-path=${LOCALBASE} \
- --with-cacerts-file=${FILESDIR}/cacerts \
- --with-version-string=${JDK_MAJOR_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION} \
- --with-native-debug-symbols=none \
- --with-debug-level=release
-
-JAVAVMS_COMMENT= OpenJDK${JDK_MAJOR_VERSION}
-
-ALL_TARGET= images
-JDK_BUILD_TYPE= release
-
-.include <bsd.port.pre.mk>
-
-BOOTSTRAP_JDKS= ${LOCALBASE}/openjdk12 \
- ${LOCALBASE}/openjdk11 \
- ${LOCALBASE}/bootstrap-openjdk11
-
-# do we have valid native jdk installed?
-.for BJDK in ${BOOTSTRAP_JDKS}
-. if !defined(BOOTSTRAPJDKDIR) && exists(${BJDK}/bin/javac)
-BOOTSTRAPJDKDIR= ${BJDK}
-. endif
-.endfor
-
-# if no valid jdk found, set dependency
-.if !defined(BOOTSTRAPJDKDIR)
-BOOTSTRAPJDKDIR?= ${LOCALBASE}/bootstrap-openjdk11
-BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:java/bootstrap-openjdk11
-.endif
-
-JDK_BUILD_JVM= server
-
-.if empty(ICONV_LIB)
-ICONV_CPPFLAGS= -DLIBICONV_PLUG
-.else
-ICONV_CPPFLAGS= -I${LOCALBASE}/include
-ICONV_LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB}
-.endif
-
-post-patch:
- @${FIND} ${WRKSRC} -name '*.orig' -delete
- @${CHMOD} 755 ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
- ${WRKSRC}/configure
-
-do-install:
- @${MKDIR} ${STAGEDIR}${INSTALLDIR}
- @cd ${JDK_IMAGEDIR} && ${COPYTREE_SHARE} . ${STAGEDIR}${INSTALLDIR}
- @cd ${STAGEDIR}${INSTALLDIR} && \
- ${FIND} bin -type f -exec ${CHMOD} ${BINMODE} {} \;
- @${FIND} ${STAGEDIR}${INSTALLDIR} -not -type d | ${SORT} | \
- ${SED} -e 's|^${STAGEDIR}${PREFIX}/||' >> ${TMPPLIST}
-
-.include <bsd.port.post.mk>
diff --git a/java/openjdk12/distinfo b/java/openjdk12/distinfo
deleted file mode 100644
index 82b4aa470ddb..000000000000
--- a/java/openjdk12/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1553131068
-SHA256 (jdk-12+33-1.tar.gz) = a1aae0dc0adbb00c9733b91276a6f739e3dc234fd4c019fe7ee3f4e323fbe67f
-SIZE (jdk-12+33-1.tar.gz) = 110195427
diff --git a/java/openjdk12/files/cacerts b/java/openjdk12/files/cacerts
deleted file mode 100644
index 02181bef7e36..000000000000
--- a/java/openjdk12/files/cacerts
+++ /dev/null
Binary files differ
diff --git a/java/openjdk12/files/patch-configure b/java/openjdk12/files/patch-configure
deleted file mode 100644
index 59daa4ff854f..000000000000
--- a/java/openjdk12/files/patch-configure
+++ /dev/null
@@ -1,14 +0,0 @@
---- configure.orig 2019-03-12 12:38:39.648907000 -0700
-+++ configure 2019-03-12 12:39:04.275572000 -0700
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!%%LOCALBASE%%/bin/bash
- #
- # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
- # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-@@ -32,4 +32,4 @@
- # Delegate to wrapper, forcing wrapper to believe $0 is this script by using -c.
- # This trick is needed to get autoconf to co-operate properly.
- # The ${-:+-$-} construction passes on bash options.
--bash ${-:+-$-} -c ". $this_script_dir/make/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"
-+%%LOCALBASE%%/bin/bash ${-:+-$-} -c ". $this_script_dir/make/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"
diff --git a/java/openjdk12/pkg-descr b/java/openjdk12/pkg-descr
deleted file mode 100644
index 7b9a9faf8549..000000000000
--- a/java/openjdk12/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-An open-source implementation of the Java Platform, Standard Edition,
-
-WWW: https://openjdk.java.net/
diff --git a/java/openjdk12/pkg-message b/java/openjdk12/pkg-message
deleted file mode 100644
index a651593720d1..000000000000
--- a/java/openjdk12/pkg-message
+++ /dev/null
@@ -1,16 +0,0 @@
-======================================================================
-
-This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
-procfs(5) mounted on /proc.
-
-If you have not done it yet, please do the following:
-
- mount -t fdescfs fdesc /dev/fd
- mount -t procfs proc /proc
-
-To make it permanent, you need the following lines in /etc/fstab:
-
- fdesc /dev/fd fdescfs rw 0 0
- proc /proc procfs rw 0 0
-
-======================================================================