<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2dbfc6857566525e048bc64b93082a97e0aab3d8">https://github.com/macports/macports-ports/commit/2dbfc6857566525e048bc64b93082a97e0aab3d8</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 2dbfc68 unpaper: Add missing ffmpeg and pkgconfig dependencies
</span>2dbfc68 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2dbfc6857566525e048bc64b93082a97e0aab3d8
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 22 22:02:15 2018 -0600
<span style='display:block; white-space:pre;color:#404040;'> unpaper: Add missing ffmpeg and pkgconfig dependencies
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/55725
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No longer override the optimization flags, since MacPorts prefers to
</span><span style='display:block; white-space:pre;color:#404040;'> follow Apple's lead and use -Os rather than -O2.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No longer use -march=native flag because that can result in binaries
</span><span style='display:block; white-space:pre;color:#404040;'> that cannot be used on user systems, if the user system has a different
</span><span style='display:block; white-space:pre;color:#404040;'> processor than our build machine.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No longer use -pipe flag because MacPorts already uses that flag if
</span><span style='display:block; white-space:pre;color:#404040;'> requested by the user in macports.conf; the default is to do so.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No longer use -flto flag on gcc-4.2 compiler which does not support it.
</span>---
graphics/unpaper/Portfile | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/unpaper/Portfile b/graphics/unpaper/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1e962a4..0e288fb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/unpaper/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/unpaper/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,10 @@
</span> PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# When updating to the next version, please switch to xz tarball
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# and no longer autoreconf.
</span> github.setup Flameeyes unpaper 6.1 unpaper-
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories graphics
maintainers nomaintainer
license GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +24,10 @@ checksums rmd160 29bfd4b927ecd5e56d49b0f8f540d5138544a8a4 \
</span> size 2704127
depends_build port:libxslt \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:netpbm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:netpbm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append path:lib/libavcodec.dylib:ffmpeg
</span>
depends_run port:netpbm
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,4 +36,8 @@ depends_run port:netpbm
</span> use_autoreconf yes
configure.args --disable-silent-rules
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-append -O2 -march=native -pipe -flto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if [string match *clang* ${configure.compiler}] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -flto
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>