pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/openjdk8



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Fri Feb 23 14:43:49 UTC 2018

Modified Files:
        pkgsrc/lang/openjdk8: Makefile distinfo
        pkgsrc/lang/openjdk8/patches: patch-jdk_make_lib_Awt2dLibraries.gmk
            patch-jdk_make_lib_CoreLibraries.gmk
            patch-jdk_make_lib_ServiceabilityLibraries.gmk

Log Message:
lang/openjdk8: The libinstrument, libnpt and libsplashscreen libs
require to be linked against libiconv on SunOS too. Fixes problems
with e.g. the JPDA debugger. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/lang/openjdk8/Makefile
cvs rdiff -u -r1.53 -r1.54 pkgsrc/lang/openjdk8/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_Awt2dLibraries.gmk
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_CoreLibraries.gmk
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_ServiceabilityLibraries.gmk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/openjdk8/Makefile
diff -u pkgsrc/lang/openjdk8/Makefile:1.60 pkgsrc/lang/openjdk8/Makefile:1.61
--- pkgsrc/lang/openjdk8/Makefile:1.60  Fri Feb 16 22:31:01 2018
+++ pkgsrc/lang/openjdk8/Makefile       Fri Feb 23 14:43:49 2018
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.60 2018/02/16 22:31:01 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2018/02/23 14:43:49 fhajny Exp $
 
 DISTNAME=      openjdk-1.8.162-20180212
 PKGNAME=       openjdk8-1.8.162
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_LOCAL:=openjdk7/}
 EXTRACT_SUFX=  .tar.xz

Index: pkgsrc/lang/openjdk8/distinfo
diff -u pkgsrc/lang/openjdk8/distinfo:1.53 pkgsrc/lang/openjdk8/distinfo:1.54
--- pkgsrc/lang/openjdk8/distinfo:1.53  Tue Feb 13 12:57:44 2018
+++ pkgsrc/lang/openjdk8/distinfo       Fri Feb 23 14:43:49 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.53 2018/02/13 12:57:44 ryoon Exp $
+$NetBSD: distinfo,v 1.54 2018/02/23 14:43:49 fhajny Exp $
 
 SHA1 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 7408f52d3bbe35c2b14bbd3215cbf60f1335d334
 RMD160 (openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz) = 24f1577b5fc86d137f070aedb4610c8c89e45815
@@ -110,10 +110,10 @@ SHA1 (patch-jdk_make_CompileLaunchers.gm
 SHA1 (patch-jdk_make_CreateJars.gmk) = 0f49c8ec33121d7878ea4b6bd06d2e4e4af9a1d5
 SHA1 (patch-jdk_make_GenerateSources.gmk) = ec1b64805afb6edca637d87529b1d3fa59d20828
 SHA1 (patch-jdk_make_Images.gmk) = e6643dcb25ad5457efe610f6ab7fd0ccc9b5ed41
-SHA1 (patch-jdk_make_lib_Awt2dLibraries.gmk) = 519960ee33b748b5d91b101c2d644117a6b18e12
-SHA1 (patch-jdk_make_lib_CoreLibraries.gmk) = 60392b9e8f4c823cffb120b9d7418bf8cb31e776
+SHA1 (patch-jdk_make_lib_Awt2dLibraries.gmk) = 46afef0bd826145c3d6277c7b73c98e595e80092
+SHA1 (patch-jdk_make_lib_CoreLibraries.gmk) = 21a46be1c8247d528a2e0666ca9a40520327771a
 SHA1 (patch-jdk_make_lib_NioLibraries.gmk) = 5a1044c444e534d627b46d820d27bb545e65959d
-SHA1 (patch-jdk_make_lib_ServiceabilityLibraries.gmk) = 76eb64f3602f67ccb346df7a0acedf097869ba76
+SHA1 (patch-jdk_make_lib_ServiceabilityLibraries.gmk) = dc79dbffca38953fcded8fd0a5ad58b2d0409e0d
 SHA1 (patch-jdk_make_lib_SoundLibraries.gmk) = b63cf0ebe204acf7264704916df875a31de84393
 SHA1 (patch-jdk_src_share_classes_sun_security_jca_ProviderConfig.java) = b7d53d0c3554eebde8f7180e75259eb25123ce8b
 SHA1 (patch-jdk_src_share_lib_security_java.security-bsd) = 5a64fc1205a5bd2f6586ad65ca21f93dfffb1606

Index: pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_Awt2dLibraries.gmk
diff -u pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_Awt2dLibraries.gmk:1.3 pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_Awt2dLibraries.gmk:1.4
--- pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_Awt2dLibraries.gmk:1.3      Wed May 10 14:01:58 2017
+++ pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_Awt2dLibraries.gmk  Fri Feb 23 14:43:49 2018
@@ -1,8 +1,9 @@
-$NetBSD: patch-jdk_make_lib_Awt2dLibraries.gmk,v 1.3 2017/05/10 14:01:58 ryoon Exp $
+$NetBSD: patch-jdk_make_lib_Awt2dLibraries.gmk,v 1.4 2018/02/23 14:43:49 fhajny Exp $
 
 GCC support.
+Proper libiconv link (and SunOS needs it too).
 
---- jdk/make/lib/Awt2dLibraries.gmk.orig       2017-04-27 09:44:53.000000000 +0000
+--- jdk/make/lib/Awt2dLibraries.gmk.orig       2017-11-28 00:13:34.000000000 +0000
 +++ jdk/make/lib/Awt2dLibraries.gmk
 @@ -48,6 +48,8 @@ ifneq ($(OPENJDK_TARGET_OS), windows)
    BUILD_LIBMLIB_LDLIBS += $(LIBM) $(LIBDL)
@@ -30,9 +31,13 @@ GCC support.
      else
        JAWT_LIBS += -lawt_headless
        HEADLESS_CFLAG += -DHEADLESS
-@@ -1276,7 +1277,7 @@ ifndef BUILD_HEADLESS_ONLY
-     # Solaris still uses OPENWIN_LIB ..
-     LIBSPLASHSCREEN_LDFLAGS_SUFFIX += -L$(OPENWIN_LIB)$(OPENJDK_TARGET_CPU_ISADIR) -lX11 -lXext $(LIBM) -lpthread
+@@ -1273,10 +1274,9 @@ ifndef BUILD_HEADLESS_ONLY
+   else ifeq ($(OPENJDK_TARGET_OS), windows)
+     LIBSPLASHSCREEN_LDFLAGS_SUFFIX += kernel32.lib user32.lib gdi32.lib delayimp.lib -DELAYLOAD:user32.dll
+   else ifeq ($(OPENJDK_TARGET_OS), solaris)
+-    # Solaris still uses OPENWIN_LIB ..
+-    LIBSPLASHSCREEN_LDFLAGS_SUFFIX += -L$(OPENWIN_LIB)$(OPENJDK_TARGET_CPU_ISADIR) -lX11 -lXext $(LIBM) -lpthread
++    LIBSPLASHSCREEN_LDFLAGS_SUFFIX += $(X_LIBS) -lX11 -lXext $(LIBM) -L$(PACKAGE_PATH)/lib $(LIBICONV) -pthread
    else ifeq ($(OPENJDK_TARGET_OS), bsd)
 -    LIBSPLASHSCREEN_LDFLAGS_SUFFIX += $(X_LIBS) -lX11 -lXext $(LIBM) -L$(PACKAGE_PATH)/lib -liconv -pthread
 +    LIBSPLASHSCREEN_LDFLAGS_SUFFIX += $(X_LIBS) -lX11 -lXext $(LIBM) -L$(PACKAGE_PATH)/lib $(LIBICONV) -pthread

Index: pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_CoreLibraries.gmk
diff -u pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_CoreLibraries.gmk:1.4 pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_CoreLibraries.gmk:1.5
--- pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_CoreLibraries.gmk:1.4       Tue Nov 28 05:07:25 2017
+++ pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_CoreLibraries.gmk   Fri Feb 23 14:43:49 2018
@@ -1,6 +1,7 @@
-$NetBSD: patch-jdk_make_lib_CoreLibraries.gmk,v 1.4 2017/11/28 05:07:25 ryoon Exp $
+$NetBSD: patch-jdk_make_lib_CoreLibraries.gmk,v 1.5 2018/02/23 14:43:49 fhajny Exp $
 
 Ensure we can find zlib.
+Proper libiconv link (and SunOS needs it too).
 
 --- jdk/make/lib/CoreLibraries.gmk.orig        2017-11-28 00:13:34.000000000 +0000
 +++ jdk/make/lib/CoreLibraries.gmk
@@ -20,12 +21,13 @@ Ensure we can find zlib.
  BUILD_LIBZIP_REORDER :=
  ifeq ($(OPENJDK_TARGET_OS), solaris)
    ifneq ($(OPENJDK_TARGET_CPU), x86_64)
-@@ -550,7 +552,7 @@ $(eval $(call SetupNativeCompilation,BUI
+@@ -550,7 +552,8 @@ $(eval $(call SetupNativeCompilation,BUI
      MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libnpt/mapfile-vers, \
      LDFLAGS := $(LDFLAGS_JDKLIB) \
          $(call SET_SHARED_LIBRARY_ORIGIN), \
 -    LDFLAGS_bsd := -L$(PACKAGE_PATH)/lib -liconv, \
 +    LDFLAGS_bsd := $(LIBICONV), \
++    LDFLAGS_solaris := $(LIBICONV), \
      LDFLAGS_macosx := -liconv, \
      LDFLAGS_SUFFIX_windows := -export:nptInitialize -export:nptTerminate, \
      LDFLAGS_SUFFIX_solaris := -lc, \

Index: pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_ServiceabilityLibraries.gmk
diff -u pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_ServiceabilityLibraries.gmk:1.1 pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_ServiceabilityLibraries.gmk:1.2
--- pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_ServiceabilityLibraries.gmk:1.1     Wed May 10 14:01:58 2017
+++ pkgsrc/lang/openjdk8/patches/patch-jdk_make_lib_ServiceabilityLibraries.gmk Fri Feb 23 14:43:49 2018
@@ -1,9 +1,15 @@
-$NetBSD: patch-jdk_make_lib_ServiceabilityLibraries.gmk,v 1.1 2017/05/10 14:01:58 ryoon Exp $
+$NetBSD: patch-jdk_make_lib_ServiceabilityLibraries.gmk,v 1.2 2018/02/23 14:43:49 fhajny Exp $
 
---- jdk/make/lib/ServiceabilityLibraries.gmk.orig      2017-04-27 09:44:53.000000000 +0000
+Proper libiconv link (and SunOS needs it too).
+
+--- jdk/make/lib/ServiceabilityLibraries.gmk.orig      2017-11-28 00:13:34.000000000 +0000
 +++ jdk/make/lib/ServiceabilityLibraries.gmk
-@@ -283,7 +283,7 @@ $(eval $(call SetupNativeCompilation,BUI
-     LDFLAGS_SUFFIX_solaris := $(LIBZ) -L $(INSTALL_LIBRARIES_HERE)/jli -ljli $(LIBDL) -lc, \
+@@ -280,10 +280,10 @@ $(eval $(call SetupNativeCompilation,BUI
+         -framework Cocoa -framework Security -framework ApplicationServices, \
+     LDFLAGS_SUFFIX := $(LIBINSTRUMENT_LDFLAGS_SUFFIX), \
+     LDFLAGS_SUFFIX_macosx := -liconv $(LIBZ), \
+-    LDFLAGS_SUFFIX_solaris := $(LIBZ) -L $(INSTALL_LIBRARIES_HERE)/jli -ljli $(LIBDL) -lc, \
++    LDFLAGS_SUFFIX_solaris := $(LIBICONV) $(LIBZ) -L $(INSTALL_LIBRARIES_HERE)/jli -ljli $(LIBDL) -lc, \
      LDFLAGS_SUFFIX_linux := $(LIBZ) -L $(INSTALL_LIBRARIES_HERE)/jli -ljli $(LIBDL), \
      LDFLAGS_SUFFIX_aix := $(LIBZ) -L$(JDK_OUTPUTDIR)/objs -ljli_static $(LIBDL),\
 -    LDFLAGS_SUFFIX_bsd := -L$(PACKAGE_PATH)/lib -liconv $(LIBZ), \



Home | Main Index | Thread Index | Old Index