861ac185a6
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
34 lines
953 B
Diff
34 lines
953 B
Diff
diff --git CBLAS/CMakeLists.txt CBLAS/CMakeLists.txt
|
|
index 04c5ab79..8fa3b7d4 100644
|
|
--- a/CBLAS/CMakeLists.txt
|
|
+++ b/CBLAS/CMakeLists.txt
|
|
@@ -88,6 +88,12 @@ install(FILES
|
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}
|
|
)
|
|
|
|
+set_target_properties(
|
|
+ cblas PROPERTIES
|
|
+ VERSION ${LAPACK_VERSION}
|
|
+ SOVERSION ${LAPACK_MAJOR_VERSION}
|
|
+ )
|
|
+
|
|
#install(EXPORT cblas-targets
|
|
# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}
|
|
# COMPONENT Development
|
|
diff --git LAPACKE/CMakeLists.txt LAPACKE/CMakeLists.txt
|
|
index 0589a74b..adc87a3e 100644
|
|
--- a/LAPACKE/CMakeLists.txt
|
|
+++ b/LAPACKE/CMakeLists.txt
|
|
@@ -126,6 +126,12 @@ install(FILES
|
|
COMPONENT Development
|
|
)
|
|
|
|
+set_target_properties(
|
|
+ lapacke PROPERTIES
|
|
+ VERSION ${LAPACK_VERSION}
|
|
+ SOVERSION ${LAPACK_MAJOR_VERSION}
|
|
+ )
|
|
+
|
|
install(EXPORT lapacke-targets
|
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/lapacke-${LAPACK_VERSION}
|
|
COMPONENT Development
|