summaryrefslogtreecommitdiff
path: root/boost-1.73.0-cmakedir.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 14:12:40 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 14:12:40 +0000
commit0bc0c8464fa84c1873dadb5cee5b053b890ed61a (patch)
tree2462c2b6cd7b871e401b644de855af589d216fe5 /boost-1.73.0-cmakedir.patch
parentf1d6eb29c0e0330cb5aa0f2cc3c069ad50f2b513 (diff)
automatic import of boostopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'boost-1.73.0-cmakedir.patch')
-rw-r--r--boost-1.73.0-cmakedir.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/boost-1.73.0-cmakedir.patch b/boost-1.73.0-cmakedir.patch
new file mode 100644
index 0000000..e47728f
--- /dev/null
+++ b/boost-1.73.0-cmakedir.patch
@@ -0,0 +1,28 @@
+--- boost_1_73_0/tools/boost_install/boost-install.jam~ 2020-04-24 20:21:50.330267122 +0100
++++ boost_1_73_0/tools/boost_install/boost-install.jam 2020-04-24 20:22:16.818360540 +0100
+@@ -652,25 +652,6 @@
+ "get_filename_component(_BOOST_CMAKEDIR \"${CMAKE_CURRENT_LIST_DIR}/../\" REALPATH)"
+ : true ;
+
+- if [ path.is-rooted $(cmakedir) ]
+- {
+- local cmakedir-native = [ path-native-fwd $(cmakedir) ] ;
+-
+- print.text
+-
+- ""
+- "# If the computed and the original directories are symlink-equivalent, use original"
+- "if(EXISTS \"$(cmakedir-native)\")"
+- " get_filename_component(_BOOST_CMAKEDIR_ORIGINAL \"$(cmakedir-native)\" REALPATH)"
+- " if(_BOOST_CMAKEDIR STREQUAL _BOOST_CMAKEDIR_ORIGINAL)"
+- " set(_BOOST_CMAKEDIR \"$(cmakedir-native)\")"
+- " endif()"
+- " unset(_BOOST_CMAKEDIR_ORIGINAL)"
+- "endif()"
+- ""
+- : true ;
+- }
+-
+ get-dir "_BOOST_INCLUDEDIR" : $(includedir) ;
+
+ if $(library-type) = INTERFACE