summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/chicken/chicken.inc14
1 files changed, 12 insertions, 2 deletions
diff --git a/recipes/chicken/chicken.inc b/recipes/chicken/chicken.inc
index f0126a9c16..9aebc4f5d5 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