[37642] trunk/dports/devel/boost
ryandesign at macports.org
ryandesign at macports.org
Mon Jun 16 13:54:10 PDT 2008
Revision: 37642
http://trac.macosforge.org/projects/macports/changeset/37642
Author: ryandesign at macports.org
Date: 2008-06-16 13:54:08 -0700 (Mon, 16 Jun 2008)
Log Message:
-----------
boost: change from "minimal" to "complete" build, fix Python dependencies, and add variants for graphml and openmpi support. Unfortunately now the icu variant is broken. This will be fixed in 1.35.1. Closes #15334 with maintainer approval.
Modified Paths:
--------------
trunk/dports/devel/boost/Portfile
Added Paths:
-----------
trunk/dports/devel/boost/files/patch-build-type-Jamroot
Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile 2008-06-16 20:29:39 UTC (rev 37641)
+++ trunk/dports/devel/boost/Portfile 2008-06-16 20:54:08 UTC (rev 37642)
@@ -4,7 +4,7 @@
name boost
version 1.35.0
-revision 0
+revision 1
categories devel
maintainers sanchom at gmail.com
description Collection of portable C++ source libraries
@@ -19,7 +19,8 @@
platforms darwin
patchfiles patch-tools-build-v2-tools-darwin.jam \
- patch-boost-serialization-utility.hpp
+ patch-boost-serialization-utility.hpp \
+ patch-build-type-Jamroot
depends_build bin:bjam:boost-jam
@@ -103,6 +104,7 @@
depends_lib-append lib:libpython${pyversion}:python[strsed ${pyversion} {g/[.]//}]
configure.args-delete --without-libraries=python
+ configure.args-append --with-python=python${pyversion}
}
variant python25 conflicts python24 {
@@ -110,7 +112,9 @@
depends_lib-append lib:libpython${pyversion}:python[strsed ${pyversion} {g/[.]//}]
configure.args-delete --without-libraries=python
+ configure.args-append --with-python=python${pyversion}
}
+
variant icu {
depends_lib-append port:icu
@@ -118,6 +122,23 @@
configure.args-append --with-icu=${prefix}
}
+variant graphml {
+ depends_lib-append port:expat
+
+ configure.env-append EXPAT_INCLUDE=${prefix}/include EXPAT_LIBPATH=${prefix}/lib
+ build.env-append EXPAT_INCLUDE=${prefix}/include EXPAT_LIBPATH=${prefix}/lib
+}
+
+variant openmpi {
+ depends_lib-append port:openmpi
+
+ post-configure {
+ set config [open user-config.jam a]
+ puts ${config} "using mpi : ${prefix}/bin/openmpicxx ;"
+ close ${config}
+ }
+}
+
variant docs {
post-destroot {
# Install HTML documentation
Added: trunk/dports/devel/boost/files/patch-build-type-Jamroot
===================================================================
--- trunk/dports/devel/boost/files/patch-build-type-Jamroot (rev 0)
+++ trunk/dports/devel/boost/files/patch-build-type-Jamroot 2008-06-16 20:54:08 UTC (rev 37642)
@@ -0,0 +1,15 @@
+--- Jamroot.orig 2008-05-16 20:01:13.000000000 -0400
++++ Jamroot 2008-05-16 20:25:36.000000000 -0400
+@@ -126,10 +126,10 @@
+ # Option to choose how many variants to build. The default is "minimal",
+ # which builds only the "release <threading>multi <link>shared" variant.
+ local build-type = [ MATCH "^--build-type=(.*)" : [ modules.peek : ARGV ] ] ;
+-build-type ?= minimal ;
++build-type ?= complete ;
+ if ! ( $(build-type) in minimal complete )
+ {
+- build-type = minimal ;
++ build-type = complete ;
+ }
+
+ # Specify the build variants keyed on the build-type.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080616/46fe863b/attachment.htm
More information about the macports-changes
mailing list