<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/9ed779868afdc1c4f62c24595f284cb7269d58c5">https://github.com/macports/macports-ports/commit/9ed779868afdc1c4f62c24595f284cb7269d58c5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9ed779868afdc1c4f62c24595f284cb7269d58c5
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Wed Jun 16 11:33:48 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> cputhrottle: migrate to boost PG
</span>---
sysutils/cputhrottle/Portfile | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/cputhrottle/Portfile b/sysutils/cputhrottle/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 526d5b30118..8246cc9d437 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/cputhrottle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/cputhrottle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,13 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup boost 1.0
</span>
name cputhrottle
#can't find any designated version number, so we'll use its release date
version 20100515
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> categories sysutils
license none
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,7 +27,8 @@ checksums md5 21b8c53310111dabe4d6b58cc702deb6 \
</span> sha1 e88c7264cb09399f2e4c54f9d10978ffbb99078b \
rmd160 4fc0e11712e6fd308c955d821091c9bd2188b720
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:boost
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+boost.depends_type build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+boost.version 1.71
</span>
use_configure no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,8 +36,8 @@ variant universal {}
</span>
# For some reason this makefile expects "CC" to be a C++ compiler
build.args-append CC="${configure.cxx} [get_canonical_archflags cxx]" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- BOOST_ROOT=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BOOST_INCLUDES=${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BOOST_ROOT=[boost::install_area] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BOOST_INCLUDES=[boost::include_dir]
</span>
destroot {
xinstall -W ${worksrcpath} cputhrottle ${destroot}${prefix}/bin
</pre><pre style='margin:0'>
</pre>