Ticket #12619: patch
File patch, 1.6 KB (added by adfernandes (Andrew Fernandes), 17 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name boost 6 version 1.34. 06 version 1.34.1 7 7 revision 1 8 8 categories devel 9 9 maintainers sanchom@gmail.com … … 15 15 master_sites sourceforge 16 16 distname ${name}_[strsed ${version} {g/[.]/_/}] 17 17 use_bzip2 yes 18 checksums md5 ed5b9291ffad776f8757a916e1726ad018 checksums md5 2d938467e8a448a2c9763e0a9f8ca7e5 19 19 platforms darwin 20 20 21 21 depends_build bin:bjam:boost-jam … … 25 25 cd ${destroot}${prefix}/lib 26 26 27 27 # get the library version as it shows up in the library names: 28 # eg. 1_34 29 set libver [join [lrange [split ${version} {.}] 0 1] {_}]28 # eg. 1_34_1 29 set libver [join [lrange [split ${version} {.}] 0 2] {_}] 30 30 31 31 # ensure the identification name of the dynamic libraries agree 32 32 # with their final destination path (not the destroot path that … … 63 63 # add a symbolic link instead 64 64 system "ln -s ${lib} ${liblink}" 65 65 } 66 67 # create a symbolic link in the include directory pointing to the current 68 # version of the boost include directory (e.g. boost-1_34_1/boost -> include/boost) 69 system "ln -fs boost-${libver}/boost ${destroot}${prefix}/include/boost" 66 70 } 67 71 } 68 72 … … 72 76 73 77 configure.args --without-libraries=python --without-icu 74 78 75 post-destroot {76 set incdirver [join [lrange [split ${version} {.}] 0 1] {_}]77 system "ln -fs boost-${incdirver}/boost ${destroot}${prefix}/include/boost"78 }79 80 79 variant python { 81 80 set pyversion 2.4 82 81 depends_lib lib:libpython${pyversion}:python[strsed ${pyversion} {g/[.]//}]