<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e3efa09e65164511e3dd8516856d96cdbd6a1021">https://github.com/macports/macports-ports/commit/e3efa09e65164511e3dd8516856d96cdbd6a1021</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e3efa09e65164511e3dd8516856d96cdbd6a1021
</span>Author: kencu <ken.cunningham.webuse@gmail.com>
AuthorDate: Fri Mar 30 15:44:35 2018 -0700

<span style='display:block; white-space:pre;color:#404040;'>    pev: fix hard-coded library path
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    also errors intermittently when building parallel
</span><span style='display:block; white-space:pre;color:#404040;'>    so disable parallel building
</span><span style='display:block; white-space:pre;color:#404040;'>    bump revision
</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/56194
</span>---
 devel/pev/Portfile                           | 11 ++++++++++-
 devel/pev/files/patch-src-config-prefix.diff | 11 +++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/pev/Portfile b/devel/pev/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 80875ca..864b419 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/pev/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/pev/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem          1.0
</span> 
 name                pev
 version             0.80
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> maintainers         g5pw openmaintainer
 
 categories          devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,11 +19,19 @@ master_sites        sourceforge:project/${name}/${name}-${version}
</span> 
 depends_lib         port:pcre
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-lib-libpe-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          patch-lib-libpe-Makefile.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    patch-src-config-prefix.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/src/config.c
</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> checksums           rmd160  01ed4fa37c5349397dbd8aa3b592b9657e63acf8 \
                     sha256  f68c8596f16d221d9a742812f6f728bcc739be90957bc1b00fbaa5943ffc5cfa
 
 use_configure       no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+use_parallel_build  no
</span> 
 variant universal {}
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/pev/files/patch-src-config-prefix.diff b/devel/pev/files/patch-src-config-prefix.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..946943a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/pev/files/patch-src-config-prefix.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/config.c.orig      2018-03-30 15:35:12.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/config.c   2018-03-30 15:35:32.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -55,7 +55,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define DEFAULT_PLUGINS_PATH "plugins"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define DEFAULT_CONFIG_PATH ".config/pev" DEFAULT_CONFIG_FILENAME
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define DEFAULT_PLUGINS_PATH "/usr/local/lib/pev/plugins"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define DEFAULT_PLUGINS_PATH "@@PREFIX@@/lib/pev/plugins"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static bool _load_config_cb(pev_config_t * const config, const char *name, const char *value) {
</span></pre><pre style='margin:0'>

</pre>