]> git.pld-linux.org Git - packages/ceph.git/blobdiff - ceph-python.patch
- fix awk shebang, rel 2
[packages/ceph.git] / ceph-python.patch
index 2a3971ef79720d008e0b39b1362de77a5157fc1b..54fae5dc9904f4c06f48c03753b642c88c60ca70 100644 (file)
@@ -1,14 +1,29 @@
---- ceph-12.2.13/cmake/modules/Distutils.cmake.orig    2020-01-30 21:52:36.000000000 +0100
-+++ ceph-12.2.13/cmake/modules/Distutils.cmake 2020-05-29 22:15:43.919231143 +0200
-@@ -17,10 +17,7 @@
+--- ceph-16.2.7/cmake/modules/Distutils.cmake~ 2021-12-07 17:15:49.000000000 +0100
++++ ceph-16.2.7/cmake/modules/Distutils.cmake  2022-02-12 11:15:17.620439748 +0100
+@@ -19,12 +19,10 @@
    install(CODE "
      set(options --prefix=${CMAKE_INSTALL_PREFIX})
      if(DEFINED ENV{DESTDIR})
 -      if(EXISTS /etc/debian_version)
 -        list(APPEND options --install-layout=deb)
+-      endif()
+       list(APPEND options
+         --root=\$ENV{DESTDIR}
+-        --single-version-externally-managed)
++        --single-version-externally-managed
++      --optimize=2)
+     endif()
+     if(NOT \"${DU_INSTALL_SCRIPT}\" STREQUAL \"\")
+       list(APPEND options --install-script=${DU_INSTALL_SCRIPT})
+@@ -109,10 +107,7 @@
+     set(options --prefix=${CMAKE_INSTALL_PREFIX})
+     if(DEFINED ENV{DESTDIR})
+-      if(EXISTS /etc/debian_version)
+-        list(APPEND options --install-layout=deb)
 -      endif()
 -      list(APPEND options --root=\$ENV{DESTDIR})
 +      list(APPEND options --root=\$ENV{DESTDIR} --optimize=2)
-       if(NOT \"${DU_INSTALL_SCRIPT}\" STREQUAL \"\")
-         list(APPEND options --install-script=${DU_INSTALL_SCRIPT})
-       endif()
+     else()
+       list(APPEND options --root=/)
+     endif()
This page took 0.180953 seconds and 4 git commands to generate.