<pre style='margin:0'>
NicosPavlov pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/aba4786b4d58374c6c5061ab959ab86c10ca443a">https://github.com/macports/macports-ports/commit/aba4786b4d58374c6c5061ab959ab86c10ca443a</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 aba4786b4d5 pdf2djvu: enable tests and support OpenMP
</span>aba4786b4d5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit aba4786b4d58374c6c5061ab959ab86c10ca443a
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Thu Oct 15 21:32:20 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> pdf2djvu: enable tests and support OpenMP
</span>---
graphics/pdf2djvu/Portfile | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/pdf2djvu/Portfile b/graphics/pdf2djvu/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ba57a47ea6f..84d56908e4e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/pdf2djvu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/pdf2djvu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup github 1.0
github.setup jwilk pdf2djvu 0.9.17.1
<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 graphics textproc
platforms darwin
license GPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,16 +38,14 @@ patchfiles patch-i18n.hh.diff \
</span>
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#Openmp is anyway not detected with llvm-gcc or clang, and breaks compilation with
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#gcc42 on SL (ticket #38184)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # explicitly configure to build with system libuuid, overriding pkg-config
# this prevents linking with ossp-uuid if it is installed
configure.env-append \
LIBUUID_CFLAGS=-I/usr/include/uuid/uuid.h \
LIBUUID_LIBS=
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --disable-openmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.openmp_version 2.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --enable-openmp
</span>
configure.universal_args-delete \
--disable-dependency-tracking
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,3 +58,8 @@ post-destroot {
</span> xinstall -m 644 -W ${worksrcpath}/doc ${name}.1 \
${destroot}${prefix}/share/man/man1
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_test-append port:python27 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py27-nose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.args PYTHON=${prefix}/bin/python2.7
</span></pre><pre style='margin:0'>
</pre>