diff --git a/gauche-arch.patch b/gauche-arch.patch index 8050611..61dcbc0 100644 --- a/gauche-arch.patch +++ b/gauche-arch.patch @@ -1,6 +1,6 @@ diff -up Gauche-0.8.14/ext/Makefile.ext.in.arch Gauche-0.8.14/ext/Makefile.ext.in ---- Gauche-0.8.14/ext/Makefile.ext.in.arch 2009-06-19 22:17:50.000000000 +0200 -+++ Gauche-0.8.14/ext/Makefile.ext.in 2009-06-19 22:18:11.000000000 +0200 +--- Gauche-0.8.14/ext/Makefile.ext.in.arch 2009-07-25 19:49:30.000000000 +0200 ++++ Gauche-0.8.14/ext/Makefile.ext.in 2009-07-25 19:49:45.000000000 +0200 @@ -12,7 +12,7 @@ datarootdir = @datarootdir@ VPATH = $(srcdir) GAUCHE_VERSION = @GAUCHE_VERSION@ @@ -10,3 +10,43 @@ diff -up Gauche-0.8.14/ext/Makefile.ext.in.arch Gauche-0.8.14/ext/Makefile.ext.i # These may be overridden by make invocators DESTDIR = +diff -up Gauche-0.8.14/src/genconfig.in.arch Gauche-0.8.14/src/genconfig.in +--- Gauche-0.8.14/src/genconfig.in.arch 2009-07-25 19:51:35.000000000 +0200 ++++ Gauche-0.8.14/src/genconfig.in 2009-07-25 19:51:49.000000000 +0200 +@@ -10,8 +10,8 @@ + # (cmds[]) and config.scm part (*configurations*). They should be + # generated from a single source. + +-host=@host@ +-xhost=@xhost@ ++host=@target@ ++xhost=@target@ + gauche_version=@GAUCHE_VERSION@ + + case "$xhost" in +diff -up Gauche-0.8.14/src/Makefile.in.arch Gauche-0.8.14/src/Makefile.in +--- Gauche-0.8.14/src/Makefile.in.arch 2009-07-25 19:52:19.000000000 +0200 ++++ Gauche-0.8.14/src/Makefile.in 2009-07-25 19:52:59.000000000 +0200 +@@ -40,7 +40,7 @@ top_srcdir = @top_srcdir@ + + # for cross build + build = @build@ +-host = @host@ ++host = @target@ + + # These may be overridden by make invocators + DESTDIR = +@@ -101,10 +101,10 @@ GAUCHE_ARCH_DIR = @libdir@/gauche + + HEADER_INSTALL_DIR = $(GAUCHE_ARCH_DIR)/@GAUCHE_VERSION@/include + SCM_INSTALL_DIR = $(GAUCHE_DATA_DIR)/@GAUCHE_VERSION@/lib +-ARCH_INSTALL_DIR = $(GAUCHE_ARCH_DIR)/@GAUCHE_VERSION@/@host@ ++ARCH_INSTALL_DIR = $(GAUCHE_ARCH_DIR)/@GAUCHE_VERSION@/@target@ + SITE_SCM_DIR = $(GAUCHE_DATA_DIR)/site/lib +-SITE_ARCH_DIR = $(GAUCHE_ARCH_DIR)/site/@GAUCHE_VERSION@/@host@ +-ARCH = @host@ ++SITE_ARCH_DIR = $(GAUCHE_ARCH_DIR)/site/@GAUCHE_VERSION@/@target@ ++ARCH = @target@ + + # targetlib is given when we relink the final version of gosh to embed + # the path to libgauche. Usually it is LIB_INSTALL_DIR, but under diff --git a/gauche.spec b/gauche.spec index 63990a0..53e99c4 100644 --- a/gauche.spec +++ b/gauche.spec @@ -1,6 +1,6 @@ Name: gauche Version: 0.8.14 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Scheme script interpreter with multibyte character handling Group: Development/Languages @@ -123,6 +123,9 @@ fi %changelog +* Sat Jul 25 2009 Gerard Milmeister - 0.8.14-3 +- patch for setting target arch + * Fri Jul 24 2009 Fedora Release Engineering - 0.8.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild