summaryrefslogtreecommitdiff
path: root/boost-1.73.0-cmakedir.patch
blob: e47728f52128f7b78eb3fdf5fcda4920416d48f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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