[Lunar-commits] <moonbase-other> sun-jdk: Adding a symlink to the BUILD. After much jiggling of Calligra

stumbles stumbles at lunar-linux.org
Tue Dec 11 14:06:32 CET 2012


commit 77e3b9e32435192b0f927a4fae75b8d57e3b15b6
Author: stumbles <stumbles at lunar-linux.org>
Date: Tue, 11 Dec 2012 05:06:32 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/77e3b9e32435192b0f927a4fae75b8d57e3b15b6

sun-jdk: Adding a symlink to the BUILD. After much jiggling of Calligra

to make it find libmawt.so and failing (it would kick off a rebuild on a
lunar fix). v4hn suggested a symlink and so it will be.
---
  compilers/sun-jdk/BUILD | +7/-0     
  1 file changed, 7 insertions(+)

--- a/compilers/sun-jdk/BUILD
+++ b/compilers/sun-jdk/BUILD
@@ -47,6 +47,13 @@
      ln -sf /usr/java/latest/jre/lib/i386/libnpjp2.so /usr/lib/lunar/plugins/
   fi &&
 
+  # Calligra has trouble finding this.
+  if [ "`arch`" == "x86_64" ] ; then 
+     ln -sf /usr/java/latest/jre/lib/amd64/xawt/libmawt.so /usr/lib/
+  else
+     ln -sf /usr/java/latest/jre/lib/i386/xawt/libmawt.so /usr/lib/
+  fi &&
+
   cd /usr/java/jdk${DVERSION}/jre/lib/security &&
   if [ $JCEYES == "y" ]; then
     rm -f US_export_policy.jar local_policy.jar




More information about the Lunar-commits mailing list