[syrthes/master] Autonomize exes from preset environement variables.

Gilles Filippini gilles.filippini at free.fr
Fri Jul 10 22:50:09 UTC 2009


---
 debian/patches/syrthes_env |   39 ++++++++++++++++++++++++++++++++-------
 1 files changed, 32 insertions(+), 7 deletions(-)

diff --git a/debian/patches/syrthes_env b/debian/patches/syrthes_env
index 9f43c51..722f171 100644
--- a/debian/patches/syrthes_env
+++ b/debian/patches/syrthes_env
@@ -1,8 +1,8 @@
 Set the SYRTHES environment variables for a debian box.
 Index: syrthes/bin/syrthes.profile
 ===================================================================
---- syrthes.orig/bin/syrthes.profile	2009-06-06 14:58:10.000000000 +0200
-+++ syrthes/bin/syrthes.profile	2009-06-06 15:01:21.000000000 +0200
+--- syrthes.orig/bin/syrthes.profile	2009-07-07 02:07:12.000000000 +0200
++++ syrthes/bin/syrthes.profile	2009-07-07 18:25:01.000000000 +0200
 @@ -32,43 +32,42 @@
  
  # Architecture name and location of the directory for installation
@@ -72,8 +72,8 @@ Index: syrthes/bin/syrthes.profile
  
 Index: syrthes/bin/Makefile.in
 ===================================================================
---- syrthes.orig/bin/Makefile.in	2009-06-06 14:58:09.000000000 +0200
-+++ syrthes/bin/Makefile.in	2009-06-06 15:00:54.000000000 +0200
+--- syrthes.orig/bin/Makefile.in	2009-07-07 02:07:12.000000000 +0200
++++ syrthes/bin/Makefile.in	2009-07-07 18:25:01.000000000 +0200
 @@ -43,10 +43,10 @@
   CC      = /usr/bin/gcc
   CFLAGS  = -O2 -D_FILE_OFFSET_BITS=64 -DHAVE_C_IO 
@@ -89,9 +89,20 @@ Index: syrthes/bin/Makefile.in
  endif
 Index: syrthes/bin/Makefile
 ===================================================================
---- syrthes.orig/bin/Makefile	2009-06-06 14:58:09.000000000 +0200
-+++ syrthes/bin/Makefile	2009-06-06 15:00:54.000000000 +0200
-@@ -133,7 +133,7 @@
+--- syrthes.orig/bin/Makefile	2009-07-07 02:07:12.000000000 +0200
++++ syrthes/bin/Makefile	2009-07-07 18:25:01.000000000 +0200
+@@ -33,6 +33,10 @@
+ # Makefile for Syrthes
+ ######################
+ 
++
++NOM_ARCH=Linux
++SYRTHES_HOME=$(shell echo $${SYRTHES_HOME:-"@SYRTHES_HOME@"})
++
+ include $(SYRTHES_HOME)/bin/Makefile.in
+ 
+ # Environment Macros
+@@ -133,7 +137,7 @@
  	@rm -f *.o
  
  	@if [ ! -d "$(ARCH_SYRTHES)" ] ;\
@@ -100,3 +111,17 @@ Index: syrthes/bin/Makefile
  	 fi ;\
  
  	@mv *.a $(ARCH_SYRTHES)
+Index: syrthes/bin/syrthes_create_case
+===================================================================
+--- syrthes.orig/bin/syrthes_create_case	2009-07-07 02:07:12.000000000 +0200
++++ syrthes/bin/syrthes_create_case	2009-07-07 18:26:09.000000000 +0200
+@@ -3,6 +3,9 @@
+ #                    Creation d'un cas SYRTHES
+ #==========================================================================
+ 
++set -e
++
++SYRTHES_HOME=@SYRTHES_HOME@
+ 
+ echo 
+ echo "***************************************** "
-- 
1.5.6.5





More information about the debian-science-commits mailing list