#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=jamvm
PKG_VERSION:=1.5.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/jamvm
CATEGORY:=Languages
TITLE:=A compact Java Virtual Machine
URL:=http://sourceforge.net/projects/jamvm
- DEPENDS:=+libffi-sable @!mips @!mipsel
+ DEPENDS:=+libffi-sable +libpthread @!mips
endef
define Package/jamvm/description
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
- CPPFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
+ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
all
endef
--- /dev/null
+--- jamvm-1.5.0-old/src/jam.h 2007-10-26 05:08:41.000000000 +0200
++++ jamvm-1.5.0-new/src/jam.h 2008-02-06 10:52:01.000000000 +0100
+@@ -676,7 +676,7 @@
+
+ /* default maximum size of object heap */
+ #ifndef DEFAULT_MAX_HEAP
+-#define DEFAULT_MAX_HEAP 128*MB
++#define DEFAULT_MAX_HEAP 8*MB
+ #endif
+
+ /* default size of the Java stack */