I just realized that tls has some problems with ulibc. This patch disables
it and uses more opewrt-style install directories for libraries.

Signed-off-by: Roberto Riggio <roberto.rig...@create-net.org>

--

Index: lang/jamvm/Makefile
===================================================================
--- lang/jamvm/Makefile (revision 15956)
+++ lang/jamvm/Makefile (working copy)
@@ -36,6 +36,8 @@
 endef
 
 CONFIGURE_ARGS+= \
+       --with-classpath-install-dir=/usr \
+       --disable-tls \
        --enable-ffi \
        --disable-int-threading \
 
Index: libs/classpath/Makefile
===================================================================
--- libs/classpath/Makefile     (revision 15956)
+++ libs/classpath/Makefile     (working copy)
@@ -45,10 +45,10 @@
 endef
 
 define Package/classpath/install
-       $(INSTALL_DIR) $(1)/usr/local/classpath/share/classpath/
-       $(INSTALL_DIR) $(1)/usr/local/classpath/lib/classpath/
-       $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip 
$(1)/usr/local/classpath/share/classpath/
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* 
$(1)/usr/local/classpath/lib/classpath/
+       $(INSTALL_DIR) $(1)/usr/share/classpath
+       $(INSTALL_DIR) $(1)/usr/lib/classpath
+       $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip 
$(1)/usr/share/classpath/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/lib/classpath/
 endef
 
 $(eval $(call BuildPackage,classpath))
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to