aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/casacore/files/1.2.20110516-libdir.patch')
-rw-r--r--sci-astronomy/casacore/files/1.2.20110516-libdir.patch196
1 files changed, 196 insertions, 0 deletions
diff --git a/sci-astronomy/casacore/files/1.2.20110516-libdir.patch b/sci-astronomy/casacore/files/1.2.20110516-libdir.patch
new file mode 100644
index 000000000..1410aae68
--- /dev/null
+++ b/sci-astronomy/casacore/files/1.2.20110516-libdir.patch
@@ -0,0 +1,196 @@
+diff -Nur casacore-1.2.20110516.orig/casa/CMakeLists.txt casacore-1.2.20110516/casa/CMakeLists.txt
+--- casacore-1.2.20110516.orig/casa/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/casa/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -209,8 +209,8 @@
+
+ install (
+ TARGETS casa_casa
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/components/CMakeLists.txt casacore-1.2.20110516/components/CMakeLists.txt
+--- casacore-1.2.20110516.orig/components/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/components/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -30,8 +30,8 @@
+ install (
+ TARGETS casa_components
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/coordinates/CMakeLists.txt casacore-1.2.20110516/coordinates/CMakeLists.txt
+--- casacore-1.2.20110516.orig/coordinates/CMakeLists.txt 2011-05-17 06:03:05.000000000 +0100
++++ casacore-1.2.20110516/coordinates/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -25,8 +25,8 @@
+
+ install (TARGETS casa_coordinates
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/derivedmscal/CMakeLists.txt casacore-1.2.20110516/derivedmscal/CMakeLists.txt
+--- casacore-1.2.20110516.orig/derivedmscal/CMakeLists.txt 2011-05-17 06:03:05.000000000 +0100
++++ casacore-1.2.20110516/derivedmscal/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -14,8 +14,8 @@
+
+ install (TARGETS casa_derivedmscal
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/fits/CMakeLists.txt casacore-1.2.20110516/fits/CMakeLists.txt
+--- casacore-1.2.20110516.orig/fits/CMakeLists.txt 2011-05-17 06:03:05.000000000 +0100
++++ casacore-1.2.20110516/fits/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -34,8 +34,8 @@
+
+ install (TARGETS casa_fits
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/images/CMakeLists.txt casacore-1.2.20110516/images/CMakeLists.txt
+--- casacore-1.2.20110516.orig/images/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/images/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -71,8 +71,8 @@
+ install (
+ TARGETS casa_images
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/lattices/CMakeLists.txt casacore-1.2.20110516/lattices/CMakeLists.txt
+--- casacore-1.2.20110516.orig/lattices/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/lattices/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -67,8 +67,8 @@
+
+ install (TARGETS casa_lattices
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/measures/CMakeLists.txt casacore-1.2.20110516/measures/CMakeLists.txt
+--- casacore-1.2.20110516.orig/measures/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/measures/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -69,8 +69,8 @@
+ install (
+ TARGETS casa_measures
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/mirlib/CMakeLists.txt casacore-1.2.20110516/mirlib/CMakeLists.txt
+--- casacore-1.2.20110516.orig/mirlib/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/mirlib/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -22,8 +22,8 @@
+ install (
+ TARGETS casa_mirlib
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/ms/CMakeLists.txt casacore-1.2.20110516/ms/CMakeLists.txt
+--- casacore-1.2.20110516.orig/ms/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/ms/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -148,8 +148,8 @@
+
+ install (TARGETS casa_ms
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/msfits/CMakeLists.txt casacore-1.2.20110516/msfits/CMakeLists.txt
+--- casacore-1.2.20110516.orig/msfits/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/msfits/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -29,8 +29,8 @@
+
+ install (
+ TARGETS casa_msfits
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/scimath/CMakeLists.txt casacore-1.2.20110516/scimath/CMakeLists.txt
+--- casacore-1.2.20110516.orig/scimath/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/scimath/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -38,8 +38,8 @@
+
+ install (TARGETS casa_scimath
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/scimath_f/CMakeLists.txt casacore-1.2.20110516/scimath_f/CMakeLists.txt
+--- casacore-1.2.20110516.orig/scimath_f/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/scimath_f/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -34,8 +34,8 @@
+
+ install (
+ TARGETS casa_scimath_f
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+
+diff -Nur casacore-1.2.20110516.orig/tables/CMakeLists.txt casacore-1.2.20110516/tables/CMakeLists.txt
+--- casacore-1.2.20110516.orig/tables/CMakeLists.txt 2011-05-17 06:03:06.000000000 +0100
++++ casacore-1.2.20110516/tables/CMakeLists.txt 2011-05-17 06:27:00.000000000 +0100
+@@ -181,8 +181,8 @@
+
+ install (TARGETS casa_tables
+ RUNTIME DESTINATION bin
+-LIBRARY DESTINATION lib
+-ARCHIVE DESTINATION lib
++LIBRARY DESTINATION lib${LIB_SUFFIX}
++ARCHIVE DESTINATION lib${LIB_SUFFIX}
+ LIBRARY PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
+ )
+