<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cff8c3f2ebc26030214685d80a620b85f34772c8">https://github.com/macports/macports-ports/commit/cff8c3f2ebc26030214685d80a620b85f34772c8</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cff8c3f2ebc26030214685d80a620b85f34772c8
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Sat Jun 5 16:26:49 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> field3d: migrate to boost PG
</span>---
graphics/field3d/Portfile | 8 +++++---
graphics/field3d/files/patch-BuildSupport.py | 8 ++++----
2 files changed, 9 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/field3d/Portfile b/graphics/field3d/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7f7b439c871..e06f5a7a501 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/field3d/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/field3d/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,10 +2,12 @@
</span>
PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup boost 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_wrapper 1.0
</span>
github.setup imageworks Field3D 1.7.3 v
name field3d
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
checksums rmd160 b540eed98c0c4abf529289e87032d3bdac47be5f \
sha256 b4f6e5c6aeb8d014be7d1d9cabc1f9464094f7f287fbfe33a37def2a73549d52 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,8 +37,7 @@ compiler.cxx_standard 2014
</span> configure.cxxflags-append -std=c++14
depends_build-append port:scons
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:boost \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:ilmbase \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:ilmbase \
</span> port:hdf5
variant universal {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,6 +47,7 @@ patchfiles patch-BuildSupport.py \
</span>
post-patch {
reinplace "s#@PREFIX@#${prefix}#g" ${worksrcpath}/BuildSupport.py
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s#@BOOSTDIR@#[boost::install_area]#g" ${worksrcpath}/BuildSupport.py
</span> reinplace "s#@CC@#${configure.cc} ${configure.cflags} [get_canonical_archflags cc]#" \
${worksrcpath}/SConstruct
reinplace "s#@CXX@#${configure.cxx} ${configure.cxxflags} [get_canonical_archflags cxx]#" \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/field3d/files/patch-BuildSupport.py b/graphics/field3d/files/patch-BuildSupport.py
</span><span style='display:block; white-space:pre;color:#808080;'>index bf24ec72b36..9a5ea5eb73b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/field3d/files/patch-BuildSupport.py
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/field3d/files/patch-BuildSupport.py
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,8 +8,8 @@
</span> - "/opt/local/include"],
- arch64 : ["/usr/local/include",
- "/opt/local/include"]},
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ "darwin" : { arch32 : ["@PREFIX@/include"],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ arch64 : ["@PREFIX@/include"]},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "darwin" : { arch32 : ["@PREFIX@/include","@BOOSTDIR@/include"],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ arch64 : ["@PREFIX@/include","@BOOSTDIR@/include"]},
</span> "linux2" : { arch32 : ["/usr/local/include"],
arch64 : ["/usr/local64/include"]}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,8 +19,8 @@
</span> - "/opt/local/lib"],
- arch64 : ["/usr/local/lib",
- "/opt/local/lib"]},
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ "darwin" : { arch32 : ["@PREFIX@/lib"],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ arch64 : ["@PREFIX@/lib"]},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "darwin" : { arch32 : ["@PREFIX@/lib","@BOOSTDIR@/lib"],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ arch64 : ["@PREFIX@/lib","@BOOSTDIR@/lib"]},
</span> "linux2" : { arch32 : ["/usr/local/lib"],
arch64 : ["/usr/local64/lib"]}
}
</pre><pre style='margin:0'>
</pre>