<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a01d230728b460ebf8bc76819629f153c6981c73">https://github.com/macports/macports-ports/commit/a01d230728b460ebf8bc76819629f153c6981c73</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 a01d230 lowdown: LDFLAGS for universal and snowleopard_fixes
</span>a01d230 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a01d230728b460ebf8bc76819629f153c6981c73
</span>Author: Jan StarĂ½ <hans@stare.cz>
AuthorDate: Sat Mar 3 15:34:07 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> lowdown: LDFLAGS for universal and snowleopard_fixes
</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/55878
</span>---
textproc/lowdown/Portfile | 8 ++++++--
textproc/lowdown/files/Makefile.patch | 12 ++++++++++++
textproc/lowdown/files/configure.patch | 21 +++++++++++++++++++++
3 files changed, 39 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/lowdown/Portfile b/textproc/lowdown/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 34de32a..0f5ad330 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/lowdown/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/lowdown/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortGroup snowleopard_fixes 1.0
</span> name lowdown
categories textproc
version 0.3.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> license BSD
description simple markdown translator
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,5 +19,8 @@ checksums \
</span> rmd160 bb93c94c974d8f68b2912f840829fc05e665a314 \
sha256 9e3796c7f819a3d28a8e304eac60da62e98fa996cae4131da971d8deaea44766
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.pre_args ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args "PREFIX=${prefix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles Makefile.patch configure.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.universal_args
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.pre_args PREFIX=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args MANDIR=${prefix}/share/man
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/lowdown/files/Makefile.patch b/textproc/lowdown/files/Makefile.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2d9da8e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/lowdown/files/Makefile.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Use LDFLAGS when linking lowdown.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2017-10-26 04:00:30.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2018-02-22 15:09:45.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -62,7 +62,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install -m 0444 lowdown.tar.gz.sha512 $(WWWDIR)/snapshots
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lowdown: liblowdown.a main.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CC) -o $@ main.o liblowdown.a -lm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CC) -o $@ main.o liblowdown.a -lm $(LDFLAGS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lowdown-diff: lowdown
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -f lowdown lowdown-diff
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/lowdown/files/configure.patch b/textproc/lowdown/files/configure.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..be3934e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/lowdown/files/configure.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Allow LDFLAGS to be passed from the environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2017-10-26 04:00:30.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2018-02-22 15:15:10.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -56,7 +56,7 @@
</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;'>+ # Initialize all variables here such that nothing can leak in from the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# environment except for CC and CFLAGS, which we might have passed in.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# environment except for CC, CFLAGS and LDFLAGS, which we might have passed in.
</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;'>+ CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | make -sf -`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -65,7 +65,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="${CFLAGS} -Wwrite-strings -Wno-unused-parameter"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDADD=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CPPFLAGS=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LDFLAGS=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LDFLAGS=`printf "all:\\n\\t@echo \\\$(LDFLAGS)\\n" | make -sf -`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREFIX="/usr/local"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BINDIR=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SBINDIR=
</span></pre><pre style='margin:0'>
</pre>