summaryrefslogtreecommitdiff
path: root/package/openjdk7
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-01-01 21:28:07 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-01-01 21:28:07 +0100
commitefa43652d30c018ce4184ddfc62aa34f15f3d4dc (patch)
tree95f519eedf8f8be844f526eefdc2faec70b31d77 /package/openjdk7
parent18ff7b7ff82290dca6f1dd943157fcadb00fb321 (diff)
openjdk7: rt is required, install a working copy of nss.cfg
Diffstat (limited to 'package/openjdk7')
-rw-r--r--package/openjdk7/Makefile7
-rw-r--r--package/openjdk7/files/nss.cfg5
2 files changed, 9 insertions, 3 deletions
diff --git a/package/openjdk7/Makefile b/package/openjdk7/Makefile
index 82295e83b..f37fafd13 100644
--- a/package/openjdk7/Makefile
+++ b/package/openjdk7/Makefile
@@ -11,14 +11,14 @@ PKG_DESCR:= java virtual machine
PKG_SECTION:= dev/lang
PKG_BUILDDEP:= openjdk7-host alsa-lib xproto libjpeg-turbo zlib giflib libpng freetype cups
PKG_BUILDDEP+= libX11 libXt libXp libXinerama libXrender libXtst
-PKG_BUILDDEP+= libpng giflib libgtk2 glib fontconfig nss gconf
+PKG_BUILDDEP+= libpng giflib libgtk2 glib fontconfig nss gconf ncurses
HOST_BUILDDEP:= fastjar-host gcj-host ecj-host unzip-host ant-host
HOST_BUILDDEP+= libXtst-host libXt-host libXinerama-host libXrender-host
HOST_BUILDDEP+= cups-host qemu-host alsa-lib-host freetype-host libxslt-host
PKG_DEPENDS:= zlib libffi libxtst libxi cups gconf
PKG_DEPENDS+= libfreetype libxrender libx11 libxext nss libjpeg-turbo
-PKG_DEPENDS+= libpng giflib libgtk2 glib fontconfig
-PKG_NEEDS:= threads c++
+PKG_DEPENDS+= libpng giflib libgtk2 glib fontconfig libncurses
+PKG_NEEDS:= threads c++ rt
PKG_URL:= http://openjdk.org/
PKG_SITES:= http://icedtea.classpath.org/download/source/
@@ -168,6 +168,7 @@ openjdk7-install:
$(CP) $(WRKBUILD)/openjdk.build/j2re-image/lib $(IDIR_OPENJDK7)/usr/lib/jvm/jre
(cd $(IDIR_OPENJDK7)/usr/bin && ln -sf ../lib/jvm/jre/bin/java .)
(cd $(IDIR_OPENJDK7)/usr/lib/jvm/jre/lib/$(JDKARCH) && ln -sf server/libjvm.so .)
+ $(CP) ./files/nss.cfg $(IDIR_OPENJDK7)/usr/lib/jvm/jre/lib/security
include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/openjdk7/files/nss.cfg b/package/openjdk7/files/nss.cfg
new file mode 100644
index 000000000..e0685918b
--- /dev/null
+++ b/package/openjdk7/files/nss.cfg
@@ -0,0 +1,5 @@
+name = NSS
+nssLibraryDirectory = /usr/lib
+nssDbMode = noDb
+attributes = compatibility
+handleStartupErrors = ignoreMultipleInitialisation