<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/40ae4799e2e766c658b20d09d23830cdab5adfcc">https://github.com/macports/macports-ports/commit/40ae4799e2e766c658b20d09d23830cdab5adfcc</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 40ae479 PG snowleopard_fixes: don't require depends_lib-append
</span>40ae479 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 40ae4799e2e766c658b20d09d23830cdab5adfcc
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Mon Oct 23 07:59:42 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> PG snowleopard_fixes: don't require depends_lib-append
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> alter portgroup to a callback
</span><span style='display:block; white-space:pre;color:#404040;'> add option to add header if needed
</span>---
_resources/port1.0/group/snowleopard_fixes-1.0.tcl | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/snowleopard_fixes-1.0.tcl b/_resources/port1.0/group/snowleopard_fixes-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 4f14e69..8c22dee 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/snowleopard_fixes-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/snowleopard_fixes-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,10 +29,26 @@
</span> # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# This portgroup provides access to back ports for Snow Leopard
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# (Mac OS X 10.6.8).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This portgroup provides access to many missing library functions for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Snow Leopard (Mac OS X 10.6.8) and earlier.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# adding the header is sometimes needed, but sometimes incompatible
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+options snowleopard_fixes.addheader
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default snowleopard_fixes.addheader no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+proc add_libsnowleopardfixes {} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global snowleopard_fixes.addheader
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ global prefix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append port:snowleopardfixes
configure.ldflags-append -lsnowleopardfixes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${snowleopard_fixes.addheader} eq "yes"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -include ${prefix}/include/snowleopardfixes.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# do not force all Portfiles to switch from depends_lib to depends_lib-append
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port::register_callback add_libsnowleopardfixes
</span> }
</pre><pre style='margin:0'>
</pre>