<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e4c5f7a1b81b609c8af526592f9572640215b522">https://github.com/macports/macports-ports/commit/e4c5f7a1b81b609c8af526592f9572640215b522</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 e4c5f7a cvs-fast-export: replace reinplace with variables
</span>e4c5f7a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e4c5f7a1b81b609c8af526592f9572640215b522
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Sun Feb 2 15:23:24 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> cvs-fast-export: replace reinplace with variables
</span>---
devel/cvs-fast-export/Portfile | 18 ++++++++-----
devel/cvs-fast-export/files/patch-Makefile.diff | 36 +++++++++++--------------
2 files changed, 27 insertions(+), 27 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cvs-fast-export/Portfile b/devel/cvs-fast-export/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4577587..ef63e1f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cvs-fast-export/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cvs-fast-export/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,13 +39,17 @@ license_noconflict bison openssl
</span>
patchfiles patch-Makefile.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@FLEX@@|${prefix}/bin/flex|g" ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@CC@@|${configure.cc}|g" ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@A2X@@|${prefix}/bin/a2x|g" ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> use_configure no
build.target cvs-fast-export
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.post_args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ prefix=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FLEX=${prefix}/bin/flex \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ A2X=${prefix}/bin/a2x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.post_args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ prefix=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FLEX=${prefix}/bin/flex \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ A2X=${prefix}/bin/a2x
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cvs-fast-export/files/patch-Makefile.diff b/devel/cvs-fast-export/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index fe1d788..9fe1a60 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cvs-fast-export/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cvs-fast-export/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,34 +1,30 @@
</span> --- Makefile.orig
+++ Makefile
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -20,13 +20,17 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- VERSION=$(shell sed -n <NEWS.adoc '/::/s/^\([0-9][^:]*\).*/\1/p' | head -1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- .PATH: $(.PARSEDIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--prefix?=/usr/local
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+prefix?=@@PREFIX@@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- target=$(DESTDIR)$(prefix)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- parsedir:=$(.PARSEDIR)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- srcdir=$(dir $(abspath $(firstword $(MAKEFILE_LIST))))$(parsedir)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- VPATH=$(srcdir)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -28,13 +28,16 @@ VPATH=$(srcdir)
</span> mandir?=$(DESTDIR)$(prefix)/share/man
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+FLEX=@@FLEX@@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+CC=@@CC@@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+A2X=@@A2X@@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span> INSTALL = install
<span style='display:block; white-space:pre;background:#ffe0e0;'>- TAR = tar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-TAR = tar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++TAR ?= tar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++BISON ?= bison
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++FLEX ?= flex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++A2X ?= a2x
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -34,7 +38,7 @@ GCC_WARNINGS1=-Wall -Wpointer-arith -Wstrict-prototypes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GCC_WARNINGS1=-Wall -Wpointer-arith -Wstrict-prototypes
</span> GCC_WARNINGS2=-Wmissing-prototypes -Wmissing-declarations
GCC_WARNINGS3=-Wno-unused-function -Wno-unused-label -Wno-format-zero-length
GCC_WARNINGS=$(GCC_WARNINGS1) $(GCC_WARNINGS2) $(GCC_WARNINGS3)
-CFLAGS=$(GCC_WARNINGS)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+CFLAGS+=$(GCC_WARNINGS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CFLAGS += $(GCC_WARNINGS)
</span> CPPFLAGS += -I. -I$(srcdir)
#LIBS=-lrt
CPPFLAGS += -DVERSION=\"$(VERSION)\"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -109,7 +113,7 @@ BISON ?= bison
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -104,12 +107,10 @@ atom.o nodehash.o revcvs.o revdir.o: hash.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revdir.o: treepack.c dirpack.c revdir.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dump.o export.o graph.o main.o collate.o revdir.o: revdir.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-BISON ?= bison
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span> gram.h gram.c: gram.y
$(BISON) $(YFLAGS) --defines=gram.h --output-file=gram.c $(srcdir)/gram.y
lex.h lex.c: lex.l
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,7 +33,7 @@
</span>
gram.o: gram.c lex.h gram.h
import.o: import.c lex.h gram.h
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -119,9 +123,9 @@ lex.o: lex.c gram.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -119,9 +120,9 @@ lex.o: lex.c gram.h
</span>
# Requires asciidoc and xsltproc/docbook stylesheets.
.adoc.1:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,7 +45,7 @@
</span> rm -f docbook-xsl.css
reporting-bugs.html: reporting-bugs.adoc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -175,7 +179,7 @@ CSUPPRESSIONS = -U__UNUSED__ -UYYPARSE_PARAM -UYYTYPE_INT16 -UYYTYPE_INT8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -175,7 +176,7 @@ CSUPPRESSIONS = -U__UNUSED__ -UYYPARSE_PARAM -UYYTYPE_INT16 -UYYTYPE_INT8 \
</span> -U_SC_NPROCESSORS_ONLN -Ushort -Usize_t -Uyytext_ptr \
-Uyyoverflow -U__cplusplus -U__APPLE__ -DCLOCK_REALTIME=0
cppcheck:
</pre><pre style='margin:0'>
</pre>