[oe-commits] Otavio Salvador : chicken.inc: fix install and compilation issues

git version control git at git.openembedded.org
Thu Nov 5 15:00:55 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 0da71f8df5d8956f3c76677c12c56367da4287f9
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0da71f8df5d8956f3c76677c12c56367da4287f9

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Thu Nov  5 12:59:17 2009 -0200

chicken.inc: fix install and compilation issues

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

---

 recipes/chicken/chicken.inc |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/recipes/chicken/chicken.inc b/recipes/chicken/chicken.inc
index f0126a9..9aebc4f 100644
--- a/recipes/chicken/chicken.inc
+++ b/recipes/chicken/chicken.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.call-with-current-continuation.org/"
 SECTION = "interpreters"
 PRIORITY = "optional"
 LICENSE = "BSD"
-INC_PR = "r1"
+INC_PR = "r2"
 
 SRC_URI = "http://chicken.wiki.br/releases/${PV}/chicken-${PV}.tar.gz"
 
@@ -13,14 +13,21 @@ PARALLEL_MAKE = ""
 # Required environment values
 export PLATFORM="linux"
 export PREFIX="${prefix}"
-export LIBRARIAN="${TARGET_PREFIX}"
+export HOSTSYSTEM="${HOST_SYS}"
 export TARGETSYSTEM="${TARGET_SYS}"
+export INSTALL_PROGRAM_SHARED_LIBRARY_OPTIONS="-m 755"
+export INSTALL_PROGRAM_STATIC_LIBRARY_OPTIONS="-m 644"
+export INSTALL_PROGRAM_EXECUTABLE_OPTIONS="-m 755"
+export INSTALL_PROGRAM_FILE_OPTIONS="-m 644"
 
 do_compile() {
 	case ${TARGET_ARCH} in
 	i*86)
 		ARCH=x86
 		;;
+	x86_64)
+		ARCH=x86-64
+		;;
 	*)
 		echo "Check ARCH value for ${TARGET_ARCH}"
 		exit 1
@@ -35,6 +42,9 @@ do_install() {
 	i*86)
 		ARCH=x86
 		;;
+	x86_64)
+		ARCH=x86-64
+		;;
 	*)
 		echo "Check ARCH value for ${TARGET_ARCH}"
 		exit 1





More information about the Openembedded-commits mailing list