From 6273537d06b9df611a2f41b3de6e552941e1cf94 Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Thu, 16 Apr 2015 18:24:53 -0400 Subject: icedtea7-native/openjdk-7: fails on hosts with no unzip Fails with an error message /usr/bin/unzip not found. Additionally, icedtea7 enables you to specify an unzip to use by setting the variable UNZIP, this results in an error because unzip uses UNZIP to specify options, hence you'll end up with unzip trying to unzip unzip. Note: Same issue applies to openjdk Signed-off-by: Amy Fong Signed-off-by: Jackie Huang --- recipes-core/icedtea/icedtea7-native.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-core/icedtea/icedtea7-native.inc') diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc index b38f3cb..cb6b5d3 100644 --- a/recipes-core/icedtea/icedtea7-native.inc +++ b/recipes-core/icedtea/icedtea7-native.inc @@ -85,6 +85,7 @@ EXTRA_OECONF = "\ --with-jaxws-src-zip=${DL_DIR}/${JAXWS_FILE} \ --with-jdk-src-zip=${DL_DIR}/${JDK_FILE} \ --with-langtools-src-zip=${DL_DIR}/${LANGTOOLS_FILE} \ + ac_cv_path_UNZIP_BIN="${STAGING_BINDIR_NATIVE}/unzip" \ " JDK_DIR = "icedtea7-native" @@ -163,6 +164,7 @@ EXTRA_OEMAKE = ' \ ZIPEXE="${STAGING_BINDIR_NATIVE}/zip" \ ${OEMAKE_BUILD_HEADLESS_ONLY} \ DISABLE_HOTSPOT_OS_VERSION_CHECK=ok \ + UNZIP_BIN="${STAGING_BINDIR_NATIVE}/unzip" \ ' do_compile() { -- cgit v1.2.3-54-g00ecf