Ticket #15334: Portfile.patch
File Portfile.patch, 1.6 KB (added by adfernandes (Andrew Fernandes), 17 years ago) |
---|
-
Portfile
old new 4 4 5 5 name boost 6 6 version 1.35.0 7 revision 07 revision 1 8 8 categories devel 9 9 maintainers sanchom@gmail.com 10 10 description Collection of portable C++ source libraries … … 19 19 platforms darwin 20 20 21 21 patchfiles patch-tools-build-v2-tools-darwin.jam \ 22 patch-boost-serialization-utility.hpp 22 patch-boost-serialization-utility.hpp \ 23 patch-build-type-Jamroot 23 24 24 25 depends_build bin:bjam:boost-jam 25 26 … … 103 104 depends_lib-append lib:libpython${pyversion}:python[strsed ${pyversion} {g/[.]//}] 104 105 105 106 configure.args-delete --without-libraries=python 107 configure.args-append --with-python=python${pyversion} 106 108 } 107 109 108 110 variant python25 conflicts python24 { … … 110 112 depends_lib-append lib:libpython${pyversion}:python[strsed ${pyversion} {g/[.]//}] 111 113 112 114 configure.args-delete --without-libraries=python 115 configure.args-append --with-python=python${pyversion} 113 116 } 117 114 118 variant icu { 115 119 depends_lib-append port:icu 116 120 … … 118 122 configure.args-append --with-icu=${prefix} 119 123 } 120 124 125 variant graphml { 126 depends_lib-append port:expat 127 128 configure.env-append EXPAT_INCLUDE=${prefix}/include EXPAT_LIBPATH=${prefix}/lib 129 build.env-append EXPAT_INCLUDE=${prefix}/include EXPAT_LIBPATH=${prefix}/lib 130 } 131 132 variant openmpi { 133 depends_lib-append port:openmpi 134 135 post-configure { 136 set config [open user-config.jam a] 137 puts ${config} "using mpi : ${prefix}/bin/openmpicxx ;" 138 close ${config} 139 } 140 } 141 121 142 variant docs { 122 143 post-destroot { 123 144 # Install HTML documentation