Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc retire lang/openjdk7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/900cc80309c5
branches:  trunk
changeset: 431877:900cc80309c5
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun May 17 00:47:06 2020 +0000

description:
retire lang/openjdk7

diffstat:

 doc/CHANGES-2020                                                                                          |     3 +-
 lang/Makefile                                                                                             |     3 +-
 lang/openjdk7/DESCR                                                                                       |     8 -
 lang/openjdk7/Makefile                                                                                    |   316 ---
 lang/openjdk7/PLIST                                                                                       |  1023 ----------
 lang/openjdk7/PLIST.SunOS                                                                                 |    35 -
 lang/openjdk7/PLIST.debug                                                                                 |    37 -
 lang/openjdk7/bootstrap.mk                                                                                |    97 -
 lang/openjdk7/buildlink3.mk                                                                               |    13 -
 lang/openjdk7/builtin.mk                                                                                  |    75 -
 lang/openjdk7/distinfo                                                                                    |   170 -
 lang/openjdk7/hacks.mk                                                                                    |    52 -
 lang/openjdk7/icedtea-extras.mk                                                                           |    16 -
 lang/openjdk7/options.mk                                                                                  |    95 -
 lang/openjdk7/patches/patch-Makefile                                                                      |    15 -
 lang/openjdk7/patches/patch-aa                                                                            |   153 -
 lang/openjdk7/patches/patch-ab                                                                            |    30 -
 lang/openjdk7/patches/patch-ac                                                                            |    14 -
 lang/openjdk7/patches/patch-ag                                                                            |    15 -
 lang/openjdk7/patches/patch-ah                                                                            |    74 -
 lang/openjdk7/patches/patch-ak                                                                            |    53 -
 lang/openjdk7/patches/patch-al                                                                            |    49 -
 lang/openjdk7/patches/patch-am                                                                            |    15 -
 lang/openjdk7/patches/patch-an                                                                            |    14 -
 lang/openjdk7/patches/patch-ao                                                                            |    60 -
 lang/openjdk7/patches/patch-ap                                                                            |    53 -
 lang/openjdk7/patches/patch-aq                                                                            |    14 -
 lang/openjdk7/patches/patch-ar                                                                            |    15 -
 lang/openjdk7/patches/patch-ba                                                                            |    15 -
 lang/openjdk7/patches/patch-bd                                                                            |    15 -
 lang/openjdk7/patches/patch-bg                                                                            |    24 -
 lang/openjdk7/patches/patch-bh                                                                            |    16 -
 lang/openjdk7/patches/patch-bi                                                                            |    45 -
 lang/openjdk7/patches/patch-bn                                                                            |    49 -
 lang/openjdk7/patches/patch-corba_make_common_shared_Defs-utils.gmk                                       |    15 -
 lang/openjdk7/patches/patch-corba_make_common_shared_Platform.gmk                                         |    52 -
 lang/openjdk7/patches/patch-hotspot_agent_src_share_classes_sun_jvm_hotspot_utilities_PlatformInfo.java   |    13 -
 lang/openjdk7/patches/patch-hotspot_make_bsd_Makefile                                                     |    62 -
 lang/openjdk7/patches/patch-hotspot_make_bsd_makefiles_defs.make                                          |    15 -
 lang/openjdk7/patches/patch-hotspot_make_bsd_makefiles_zeroshark.make                                     |    12 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_adlc.make                                      |    18 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_debug.make                                     |    19 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_dtrace.make                                    |    56 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_fastdebug.make                                 |    19 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_gcc.make                                       |   130 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_jsig.make                                      |    34 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_jvmg.make                                      |    19 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_mapfile-vers-COMPILER1.gcc                     |    50 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_mapfile-vers-COMPILER2.gcc                     |    53 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_mapfile-vers-TIERED.gcc                        |    52 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_optimized.make                                 |    19 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_product.make                                   |    25 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_saproc.make                                    |    23 -
 lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_vm.make                                        |    50 -
 lang/openjdk7/patches/patch-hotspot_src_cpu_x86_vm_jni__x86.h                                             |    13 -
 lang/openjdk7/patches/patch-hotspot_src_cpu_zero_vm_cppInterpreter__zero.cpp                              |    15 -
 lang/openjdk7/patches/patch-hotspot_src_cpu_zero_vm_methodHandles__zero.cpp                               |    16 -
 lang/openjdk7/patches/patch-hotspot_src_cpu_zero_vm_nativeInst__zero.cpp                                  |    14 -
 lang/openjdk7/patches/patch-hotspot_src_cpu_zero_vm_stubGenerator__zero.cpp                               |    18 -
 lang/openjdk7/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_atomic__bsd__zero.inline.hpp                 |    47 -
 lang/openjdk7/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_orderAccess__bsd__zero.inline.hpp            |    20 -
 lang/openjdk7/patches/patch-hotspot_src_os__cpu_bsd__zero_vm_os__bsd__zero.cpp                            |    49 -
 lang/openjdk7/patches/patch-hotspot_src_os__cpu_solaris__x86_vm_atomic__solaris__x86.inline.hpp           |    92 -
 lang/openjdk7/patches/patch-hotspot_src_os__cpu_solaris__x86_vm_orderAccess__solaris__x86.inline.hpp      |    18 -
 lang/openjdk7/patches/patch-hotspot_src_os__cpu_solaris__x86_vm_os__solaris__x86.cpp                      |    63 -
 lang/openjdk7/patches/patch-hotspot_src_os__cpu_solaris__x86_vm_prefetch__solaris__x86.inline.hpp         |    35 -
 lang/openjdk7/patches/patch-hotspot_src_os__cpu_solaris__x86_vm_threadLS__solaris__x86.hpp                |    18 -
 lang/openjdk7/patches/patch-hotspot_src_os_posix_vm_os__posix.cpp                                         |    39 -
 lang/openjdk7/patches/patch-hotspot_src_os_solaris_dtrace_jhelper.d                                       |    89 -
 lang/openjdk7/patches/patch-hotspot_src_os_solaris_vm_decoder__solaris.cpp                                |    18 -
 lang/openjdk7/patches/patch-hotspot_src_os_solaris_vm_os__solaris.cpp                                     |   115 -
 lang/openjdk7/patches/patch-hotspot_src_os_solaris_vm_perfMemory__solaris.cpp                             |    24 -
 lang/openjdk7/patches/patch-hotspot_src_share_vm_classfile_symbolTable.cpp                                |    17 -
 lang/openjdk7/patches/patch-hotspot_src_share_vm_gc__implementation_g1_heapRegionSet.hpp                  |    19 -
 lang/openjdk7/patches/patch-hotspot_src_share_vm_oops_klass.hpp                                           |    20 -
 lang/openjdk7/patches/patch-hotspot_src_share_vm_opto_library__call.cpp                                   |    17 -
 lang/openjdk7/patches/patch-hotspot_src_share_vm_opto_node.cpp                                            |    15 -
 lang/openjdk7/patches/patch-hotspot_src_share_vm_runtime_os.cpp                                           |    12 -
 lang/openjdk7/patches/patch-hotspot_src_share_vm_runtime_virtualspace.cpp                                 |    24 -
 lang/openjdk7/patches/patch-hotspot_src_share_vm_utilities_globalDefinitions__gcc.hpp                     |    13 -
 lang/openjdk7/patches/patch-hotspot_src_share_vm_utilities_hashtable.cpp                                  |    16 -
 lang/openjdk7/patches/patch-jdk_make_com_sun_Makefile                                                     |    29 -
 lang/openjdk7/patches/patch-jdk_make_com_sun_java_pack_Makefile                                           |    31 -
 lang/openjdk7/patches/patch-jdk_make_com_sun_jmx_Makefile                                                 |    25 -
 lang/openjdk7/patches/patch-jdk_make_com_sun_nio_Makefile                                                 |    15 -
 lang/openjdk7/patches/patch-jdk_make_com_sun_script_Makefile                                              |    15 -
 lang/openjdk7/patches/patch-jdk_make_common_Defs-solaris-gcc.gmk                                          |   511 ----
 lang/openjdk7/patches/patch-jdk_make_common_Defs-solaris.gmk                                              |    23 -
 lang/openjdk7/patches/patch-jdk_make_common_Mapfile-vers.gmk                                              |    42 -
 lang/openjdk7/patches/patch-jdk_make_common_Program.gmk                                                   |    42 -
 lang/openjdk7/patches/patch-jdk_make_common_Rules.gmk                                                     |    17 -
 lang/openjdk7/patches/patch-jdk_make_common_shared_Compiler-gcc.gmk                                       |    15 -
 lang/openjdk7/patches/patch-jdk_make_common_shared_Defs-utils.gmk                                         |    34 -
 lang/openjdk7/patches/patch-jdk_make_common_shared_Defs-versions.gmk                                      |    19 -
 lang/openjdk7/patches/patch-jdk_make_java_Makefile                                                        |    15 -
 lang/openjdk7/patches/patch-jdk_make_java_instrument_Makefile                                             |    25 -
 lang/openjdk7/patches/patch-jdk_make_java_net_FILES__c.gmk                                                |    19 -
 lang/openjdk7/patches/patch-jdk_make_java_nio_Makefile                                                    |    16 -
 lang/openjdk7/patches/patch-jdk_make_java_npt_Makefile                                                    |    28 -
 lang/openjdk7/patches/patch-jdk_make_sun_awt_Makefile                                                     |    70 -
 lang/openjdk7/patches/patch-jdk_make_sun_awt_mawt.gmk                                                     |    33 -
 lang/openjdk7/patches/patch-jdk_make_sun_rmi_rmi_Makefile                                                 |    15 -
 lang/openjdk7/patches/patch-jdk_make_sun_security_ec_Makefile                                             |    22 -
 lang/openjdk7/patches/patch-jdk_make_sun_splashscreen_Makefile                                            |    18 -
 lang/openjdk7/patches/patch-jdk_make_sun_xawt_Makefile                                                    |    25 -
 lang/openjdk7/patches/patch-jdk_src_share_classes_com_sun_script_javascript_ExternalScriptable.java       |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_classes_com_sun_script_javascript_JSAdapter.java                |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_classes_com_sun_script_javascript_JavaAdapter.java              |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_classes_com_sun_script_javascript_RhinoClassShutter.java        |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_classes_com_sun_script_javascript_RhinoCompiledScript.java      |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_classes_com_sun_script_javascript_RhinoScriptEngine.java        |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_classes_com_sun_script_javascript_RhinoScriptEngineFactory.java |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_classes_com_sun_script_javascript_RhinoTopLevel.java            |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_classes_com_sun_script_javascript_RhinoWrapFactory.java         |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_imageioJPEG.c                         |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_native_sun_awt_image_jpeg_jpegdecoder.c                         |    15 -
 lang/openjdk7/patches/patch-jdk_src_share_native_sun_awt_libpng_pngpriv.h                                 |    16 -
 lang/openjdk7/patches/patch-jdk_src_share_native_sun_security_ec_impl_ecc__impl.h                         |    33 -
 lang/openjdk7/patches/patch-jdk_src_solaris_bin_ergo__i586.c                                              |    50 -
 lang/openjdk7/patches/patch-jdk_src_solaris_classes_java_lang_UNIXProcess.java.bsd                        |    44 -
 lang/openjdk7/patches/patch-jdk_src_solaris_classes_sun_net_PortConfig.java                               |    13 -
 lang/openjdk7/patches/patch-jdk_src_solaris_classes_sun_nio_ch_DefaultAsynchronousChannelProvider.java    |    16 -
 lang/openjdk7/patches/patch-jdk_src_solaris_classes_sun_nio_fs_BsdFileSystemProvider.java                 |    25 -
 lang/openjdk7/patches/patch-jdk_src_solaris_native_com_sun_media_sound_PLATFORM__API__BsdOS__ALSA__PCM.c  |    17 -
 lang/openjdk7/patches/patch-jdk_src_solaris_native_com_sun_security_auth_module_Unix.c                    |    18 -
 lang/openjdk7/patches/patch-jdk_src_solaris_native_java_lang_java__props__md.c                            |    16 -
 lang/openjdk7/patches/patch-jdk_src_solaris_native_java_net_NetworkInterface.c                            |    62 -
 lang/openjdk7/patches/patch-jdk_src_solaris_native_java_net_net__util__md.c                               |    16 -
 lang/openjdk7/patches/patch-jdk_src_solaris_native_java_net_net__util__md.h                               |    13 -
 lang/openjdk7/patches/patch-jdk_src_solaris_native_sun_awt_X11Color.c                                     |    15 -
 lang/openjdk7/patches/patch-jdk_test_Makefile                                                             |    28 -
 lang/openjdk7/patches/patch-jdk_test_java_beans_Introspector_4168475_Test4168475.java                     |    15 -
 lang/openjdk7/patches/patch-jdk_test_java_beans_Introspector_4520754_Test4520754.java                     |    15 -
 lang/openjdk7/patches/patch-jdk_test_java_beans_Introspector_Test4144543.java                             |    16 -
 lang/openjdk7/patches/patch-jdk_test_java_lang_management_OperatingSystemMXBean_GetSystemLoadAverage.java |    15 -
 lang/openjdk7/patches/patch-jdk_test_jprt.config                                                          |    13 -
 lang/openjdk7/patches/patch-jdk_test_sun_security_ec_TestEC.java                                          |    15 -
 lang/openjdk7/patches/patch-langtools_make_build.xml                                                      |    24 -
 138 files changed, 3 insertions(+), 6034 deletions(-)

diffs (truncated from 6606 to 300 lines):

diff -r 7bdf6e1cd87c -r 900cc80309c5 doc/CHANGES-2020
--- a/doc/CHANGES-2020  Sun May 17 00:38:47 2020 +0000
+++ b/doc/CHANGES-2020  Sun May 17 00:47:06 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2020,v 1.2965 2020/05/16 22:54:27 gdt Exp $
+$NetBSD: CHANGES-2020,v 1.2966 2020/05/17 00:47:06 tnn Exp $
 
 Changes to the packages collection and infrastructure in 2020:
 
@@ -4681,3 +4681,4 @@
        Updated lang/chicken5 to 5.2.0 [nikita 2020-05-16]
        Updated lang/clang-tools-extra to 10.0.0nb1 [wiz 2020-05-16]
        Updated math/bc-gh to 2.7.2 [gdt 2020-05-16]
+       Removed lang/openjdk7 successor lang/openjdk8 [tnn 2020-05-17]
diff -r 7bdf6e1cd87c -r 900cc80309c5 lang/Makefile
--- a/lang/Makefile     Sun May 17 00:38:47 2020 +0000
+++ b/lang/Makefile     Sun May 17 00:47:06 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.559 2020/05/10 15:02:44 maya Exp $
+# $NetBSD: Makefile,v 1.560 2020/05/17 00:47:06 tnn Exp $
 #
 
 COMMENT=       Programming languages
@@ -184,7 +184,6 @@
 SUBDIR+=       opencobol
 SUBDIR+=       openjdk-bin
 SUBDIR+=       openjdk11
-SUBDIR+=       openjdk7
 SUBDIR+=       openjdk8
 SUBDIR+=       opensource-cobol
 SUBDIR+=       oracle-jdk8
diff -r 7bdf6e1cd87c -r 900cc80309c5 lang/openjdk7/DESCR
--- a/lang/openjdk7/DESCR       Sun May 17 00:38:47 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-Open-source implementation of the Java Platform, Standard Edition.
-
-This package is NOT certified to be compatible with any Java standard.
-Use at own risk.
-
-Mandatory trademark notice:
-    "OpenJDK is a trademark or registered trademark of Sun Microsystems,
-     Inc. in the United States and other countries."
diff -r 7bdf6e1cd87c -r 900cc80309c5 lang/openjdk7/Makefile
--- a/lang/openjdk7/Makefile    Sun May 17 00:38:47 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,316 +0,0 @@
-# $NetBSD: Makefile,v 1.143 2020/03/22 21:22:20 joerg Exp $
-
-JDK_MICRO=     141
-DISTNAME=      openjdk-1.7.${JDK_MICRO}-20170813
-PKGNAME=       openjdk7-1.7.${JDK_MICRO}
-PKGREVISION=   14
-CATEGORIES=    lang
-MASTER_SITES=  ${MASTER_SITE_LOCAL:=openjdk7/}
-EXTRACT_SUFX=  .tar.xz
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://openjdk.java.net/
-COMMENT=       Open-source implementation of the Java Platform, Standard Edition
-LICENSE=       gnu-gpl-v2
-
-DISTFILES=     ${DEFAULT_DISTFILES}
-EXTRACT_ONLY=  ${DISTNAME}${EXTRACT_SUFX}
-
-DIST_SUBDIR=   openjdk7
-
-JAVA_NAME=     openjdk7
-JAVA_HOME=     ${PREFIX}/java/${JAVA_NAME}
-JAVA_WRAPPERS= jar java javac javadoc javah javap jcmd jhat jps jstack \
-               keytool orbd policytool rmid rmiregistry servertool tnameserv
-
-NOT_PAX_MPROTECT_SAFE+=        java/${JAVA_NAME}/bin/[a-ik-z]*
-NOT_PAX_MPROTECT_SAFE+=        java/${JAVA_NAME}/bin/j[b-z]*
-NOT_PAX_MPROTECT_SAFE+=        java/${JAVA_NAME}/bin/jar*
-NOT_PAX_MPROTECT_SAFE+=        java/${JAVA_NAME}/bin/java
-NOT_PAX_MPROTECT_SAFE+=        java/${JAVA_NAME}/bin/java[a-z]*
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD" && defined(TOOLS_PLATFORM.paxctl)
-SUBST_CLASSES+=                        set-paxctl
-SUBST_STAGE.set-paxctl=                pre-build
-SUBST_MESSAGE.set-paxctl=      Setting NetBSD paxctl
-SUBST_FILES.set-paxctl=                make/Defs-internal.gmk
-SUBST_FILES.set-paxctl+=       jdk/make/com/sun/jmx/Makefile
-SUBST_SED.set-paxctl+=         -e 's,/usr/sbin/paxmark.sh,${PAXCTL},'
-SUBST_SED.set-paxctl+=         -e 's,-vmsp,+m,'
-SUBST_SED.set-paxctl+=         -e 's,-vm,+m,'
-SUBST_SED.set-paxctl+=         -e 's,\^PaX,.,'
-.endif
-
-MAKE_ENV+=             PKGSRC_ZIPEXE=${TOOLS_PATH.zip}
-MAKE_ENV+=             PKGSRC_UNZIP=${TOOLS_PATH.unzip}
-MAKE_ENV+=             PKGSRC_UNZIPSFX=${TOOLS_PATH.unzip}sfx
-
-BUILD_DEPENDS+=                mozilla-rootcerts>=1.0.20140820nb2:../../security/mozilla-rootcerts
-
-NO_CONFIGURE=          yes
-USE_LANGUAGES=         c gnu++03
-USE_TOOLS+=            gmake pax unzip:run zip:run # patch
-UNLIMIT_RESOURCES=     datasize stacksize
-WRKSRC=                        ${WRKDIR}/openjdk
-PLIST_SRC+=            ${PLIST_SRC_DFLT}
-CHECK_SHLIBS_SKIP=     java/${JAVA_NAME}/jre/lib/${LIBDIR_ARCH}/libfontmanager.so
-CHECK_SHLIBS_SKIP+=    java/${JAVA_NAME}/jre/lib/${LIBDIR_ARCH}/libjawt.so
-CHECK_SHLIBS_SKIP+=    java/${JAVA_NAME}/jre/lib/${LIBDIR_ARCH}/libsunec.so
-
-BUILDLINK_PASSTHRU_DIRS+=      ${ALT_BOOTDIR}
-PREPEND_PATH+=                 ${ALT_BOOTDIR}/bin
-
-MAKE_ENV+=     ALT_BOOTDIR=${ALT_BOOTDIR}
-MAKE_ENV+=     ALT_DROPS_DIR=${DISTDIR}/${DIST_SUBDIR}
-MAKE_ENV+=     ALT_FREETYPE_LIB_PATH=${BUILDLINK_PREFIX.freetype2}/lib
-MAKE_ENV+=     ALT_FREETYPE_HEADERS_PATH=${BUILDLINK_PREFIX.freetype2}/include
-MAKE_ENV+=     ALT_CUPS_HEADERS_PATH=${BUILDLINK_PREFIX.cups-base}/include
-MAKE_ENV+=     ALT_COMPILER_PATH=${WRAPPER_DIR}/bin
-MAKE_ENV+=     ALT_PACKAGE_PATH=${PREFIX}
-MAKE_ENV+=     RHINO_JAR=${WRKDIR}/${RHINO}/js.jar
-
-MAKE_ENV+=     BUILDLINK_PREFIX.iconv=${BUILDLINK_PREFIX.iconv:Q}
-MAKE_ENV+=     ZLIB_LIBS="-L${BUILDLINK_PREFIX.zlib}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.zlib}/lib -lz"
-
-MAKE_ENV+=     ALT_PARALLEL_COMPILE_JOBS=${MAKE_JOBS:U1}
-MAKE_ENV+=     HOTSPOT_BUILD_JOBS=${MAKE_JOBS}
-MAKE_ENV+=     USE_PRECOMPILED_HEADER=0
-
-MAKE_ENV+=     HOTSPOT_BUILD_USER=pkgsrc
-MAKE_ENV+=     JDK_MICRO_VERSION="0_${JDK_MICRO}"
-MAKE_ENV+=     NO_DOCS=true
-MAKE_ENV+=     SKIP_COMPARE_IMAGES=true
-
-# Avoid build errors when JAVA_HOME and CLASSPATH are defined by user.
-MAKE_ENV+=     JAVA_HOME=
-MAKE_ENV+=     CLASSPATH=
-
-BUILD_OPSYS=                   ${OPSYS:C/.*BSD/bsd/:S/DragonFly/bsd/:S/SunOS/solaris/}
-BUILD_ARCH=                    ${MACHINE_ARCH:S/i386/i586/:S/x86_64/amd64/:S/sparc64/sparcv9/:C/^e?arm.*$/arm/}
-LIBDIR_ARCH=                   ${MACHINE_ARCH:S/x86_64/amd64/:S/sparc64/sparcv9/:C/^e?arm.*$/arm/}
-BUILDDIR=                      ${WRKSRC}/build/${BUILD_OPSYS}-${BUILD_ARCH}
-LD_LIBRARY_PATH=               ${WRKDIR}/bootstrap/jre/lib/${LIBDIR_ARCH}:${WRKDIR}/bootstrap/jre/lib/${LIBDIR_ARCH}/jli:${WRKDIR}/bootstrap/jre/lib/${LIBDIR_ARCH}/server
-MAKE_ENV+=                     LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
-BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/java/${JAVA_NAME}/jre/lib/${LIBDIR_ARCH}
-
-PLIST_SUBST+=  ARCH=${LIBDIR_ARCH}
-PLIST_SUBST+=  LOWER_OPSYS=${LOWER_OPSYS}
-
-.include "../../mk/compiler.mk"
-
-.if ${OPSYS} == "SunOS" && !empty(PKGSRC_COMPILER:Mgcc)
-MAKE_ENV+=     USE_GCC=1
-MAKE_ENV+=     ARCH_DATA_MODEL=${ABI:Q}
-.endif
-
-SUBST_CLASSES+=                libpath
-SUBST_STAGE.libpath=   pre-build
-SUBST_FILES.libpath+=  hotspot/src/os/bsd/vm/os_bsd.cpp
-SUBST_VARS.libpath=    PREFIX
-
-# SmartOS has ccs tools in /usr/bin
-.if ${OS_VARIANT} == "SmartOS"
-SUBST_CLASSES+=                ccspath
-SUBST_STAGE.ccspath=   pre-build
-SUBST_FILES.ccspath=   jdk/make/common/shared/Defs-utils.gmk
-SUBST_FILES.ccspath+=  hotspot/make/solaris/makefiles/build_vm_def.sh
-SUBST_SED.ccspath=     -e 's/UNIXCCS_PATH/UNIXCOMMAND_PATH/g'
-SUBST_SED.ccspath+=    -e 's,/usr/ccs/bin,/usr/bin,g'
-.endif
-
-SUBST_CLASSES.SunOS+=  mapfix
-SUBST_STAGE.mapfix=    pre-build
-SUBST_FILES.mapfix=    jdk/make/com/sun/java/pack/mapfile-vers
-SUBST_FILES.mapfix+=   jdk/make/java/main/java/mapfile-amd64
-SUBST_FILES.mapfix+=   jdk/make/java/main/java/mapfile-i586
-SUBST_SED.mapfix=      -e '/__fsr_init_value/d'
-SUBST_SED.mapfix+=     -e '/__progname/d'
-
-# environ should only be removed from this file (added by patches)
-SUBST_CLASSES.SunOS+=  mapfix2
-SUBST_STAGE.mapfix2=   pre-build
-SUBST_FILES.mapfix2=   jdk/make/com/sun/java/pack/mapfile-vers
-SUBST_SED.mapfix2=     -e '/environ/d'
-
-CFLAGS+=       -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-CXXFLAGS+=     -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-
-.if !empty(PKGSRC_COMPILER:Mgcc) && empty(CC_VERSION:Mgcc-[2345].*)
-CFLAGS+=       -fno-lifetime-dse
-CFLAGS+=       -fno-delete-null-pointer-checks
-.endif
-
-# no multilib support on aarch64 yet
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64)
-BUILDLINK_TRANSFORM+=  rm:-m64
-.endif
-
-.if !empty(PKGSRC_COMPILER:Mclang)
-_WRAP_EXTRA_ARGS.CXX+= -Wno-parentheses -Wno-sign-conversion \
-                       -Wno-shorten-64-to-32 -Wno-conversion \
-                       -Wno-unused-value -Wno-switch-enum -Wno-switch \
-                       -Wno-tautological-compare \
-                       -Wno-delete-non-virtual-dtor \
-                       -Wno-return-type -Wno-unused-parameter \
-                       -Wno-parentheses-equality -Wno-empty-body \
-                       -Wno-sizeof-array-div
-CWRAPPERS_APPEND.cxx+= -Wno-parentheses -Wno-sign-conversion \
-                       -Wno-shorten-64-to-32 -Wno-conversion \
-                       -Wno-unused-value -Wno-switch-enum -Wno-switch \
-                       -Wno-tautological-compare \
-                       -Wno-delete-non-virtual-dtor \
-                       -Wno-return-type -Wno-unused-parameter \
-                       -Wno-parentheses-equality -Wno-empty-body \
-                       -Wno-sizeof-array-div
-.  if ${OPSYS} != "FreeBSD"
-_WRAP_EXTRA_ARGS.CXX+= -Wno-new-returns-null
-CWRAPPERS_APPEND.cxx+= -Wno-new-returns-null
-.  endif
-BUILDLINK_TRANSFORM+=  rm:-fcheck-new
-BUILDLINK_TRANSFORM+=  rm:-fpch-deps
-.  if ${MACHINE_ARCH} == "x86_64"
-_WRAP_EXTRA_ARGS.CXX+= -mstackrealign
-CWRAPPERS_APPEND.cxx+= -mstackrealign
-.  endif
-.endif
-.include "bootstrap.mk"
-.include "icedtea-extras.mk"
-
-.include "options.mk"
-
-SUBST_CLASSES+=                        add-rpaths
-SUBST_STAGE.add-rpaths=                pre-build
-SUBST_MESSAGE.add-rpaths=      adding X11 run path flags to Makefiles
-SUBST_FILES.add-rpaths=                jdk/make/sun/awt/Makefile               \
-                               jdk/make/sun/awt/mawt.gmk               \
-                               jdk/make/sun/jawt/Makefile              \
-                               jdk/make/sun/jdga/Makefile              \
-                               jdk/make/sun/splashscreen/Makefile      \
-                               jdk/make/sun/xawt/Makefile
-SUBST_SED.add-rpaths=          -e 's|-L$$(OPENWIN_LIB)|-L$$(OPENWIN_LIB) -Wl,-R$$(OPENWIN_LIB)|g'
-
-SUBST_CLASSES+=                        fontpaths
-SUBST_STAGE.fontpaths=         pre-build
-SUBST_MESSAGE.fontpaths=       fixing font paths
-SUBST_FILES.fontpaths=         jdk/src/solaris/classes/sun/awt/fontconfigs/bsd.fontconfig.properties
-SUBST_FILES.fontpaths+=                jdk/src/solaris/native/sun/awt/fontpath.c
-SUBST_VARS.fontpaths=          PREFIX
-SUBST_VARS.fontpaths+=         BUILDLINK_PREFIX.fontconfig
-
-PLIST_VARS+=   i386
-.if ${MACHINE_ARCH} == "i386"
-PLIST.i386=    yes
-.endif
-
-PLIST_VARS+=   sctp alsa
-.if ${OPSYS} == "FreeBSD"
-PLIST.sctp=    yes
-PLIST.alsa=    yes
-.include "../../audio/alsa-lib/buildlink3.mk"
-.endif
-
-post-extract:
-       chmod +x ${ANT_BIN}/ant
-       ${LN} -s mapfile-i586 ${WRKSRC}/jdk/make/java/main/java/mapfile-arm
-       ${LN} -s mapfile-amd64 ${WRKSRC}/jdk/make/java/main/java/mapfile-aarch64
-# These libs are bundled w/ the netbsd-7 bootstrap to facilitate building with
-# MKLLVM=yes / MKGCC=no. Nuke them from bootstrap if they are present in base.
-.if exists(/lib/libgcc_s.so.1)
-       ${RM} -f ${ALT_BOOTDIR}/jre/lib/${LIBDIR_ARCH}/libgcc_s.so*
-.endif
-.if exists(/usr/lib/libstdc++.so.7)
-       ${RM} -f ${ALT_BOOTDIR}/jre/lib/${LIBDIR_ARCH}/libstdc++.so*
-.endif
-.if defined(TOOLS_PLATFORM.paxctl)
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/[a-ik-z]*
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/j[b-z]*
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/jar*
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/java
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/java[a-z]*
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/jre/bin/*
-.endif
-
-do-build: ${WRKDIR}/stage3-done
-
-# stage 1 builds a native JDK using the bootstrap binaries
-${WRKDIR}/stage1-done:
-       ${_ULIMIT_CMD} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${JDK_MAKE_TARGET}
-       rm -rf ${ALT_BOOTDIR}
-       cd ${BUILDDIR} && mv j2sdk-image ${ALT_BOOTDIR}
-       mv ${BUILDDIR} ${BUILDDIR}-stage1
-       touch ${.TARGET}
-
-# stage 1.5 reconfigures, since the bootstrap JDK major version might have changed now
-${WRKDIR}/stage1_5-done: ${WRKDIR}/stage1-done
-.if defined(TOOLS_PLATFORM.paxctl)
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/[a-ik-z]*
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/j[b-z]*
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/jar*
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/java
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/bin/java[a-z]*
-       ${PAXCTL} +m ${WRKDIR}/bootstrap/jre/bin/*



Home | Main Index | Thread Index | Old Index