diff options
Diffstat (limited to 'sci-misc/salome-yacs/files/salome-yacs-5.1.3-lib_location.patch')
-rw-r--r-- | sci-misc/salome-yacs/files/salome-yacs-5.1.3-lib_location.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-misc/salome-yacs/files/salome-yacs-5.1.3-lib_location.patch b/sci-misc/salome-yacs/files/salome-yacs-5.1.3-lib_location.patch new file mode 100644 index 000000000..9eb803582 --- /dev/null +++ b/sci-misc/salome-yacs/files/salome-yacs-5.1.3-lib_location.patch @@ -0,0 +1,14 @@ +diff -ur src5.1.3.orig/YACS_SRC_5.1.3/adm/unix/config_files/ac_linker_options.m4 src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/ac_linker_options.m4 +--- src5.1.3.orig/YACS_SRC_5.1.3/adm/unix/config_files/ac_linker_options.m4 2010-03-08 20:39:54.160326435 +0100 ++++ src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/ac_linker_options.m4 2010-03-08 20:40:58.590323448 +0100 +@@ -23,6 +23,10 @@ + + AC_CHECKING(for LIB_LOCATION_SUFFIX) + LIB_LOCATION_SUFFIX="" ++ case "$build_cpu" in ++ x86_64*) LIB_LOCATION_SUFFIX="64" ;; ++ *) LIB_LOCATION_SUFFIX="" ;; ++ esac + AC_SUBST(LIB_LOCATION_SUFFIX) + AC_MSG_RESULT(LIB_LOCATION_SUFFIX is $LIB_LOCATION_SUFFIX) + |