Files
ports/databases/pgreplay/files/patch-Makefile.in
T
Matthew Seaman 37905c446e pgreplay reads a PostgreSQL log file (*not* a WAL file), extracts the
SQL statements and executes them in the same order and with the original
timing against a PostgreSQL database.

WWW: https://github.com/laurenz/pgreplay
2016-05-25 10:12:50 +00:00

15 lines
390 B
Makefile

--- Makefile.in.orig 2016-05-25 09:58:50 UTC
+++ Makefile.in
@@ -1,4 +1,5 @@
CFLAGS = @CFLAGS@
+CPPFLAGS= @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
CC = @CC@
@@ -57,4 +58,4 @@ install_html: $(EXE).html
$(INSTALL) -D -m 0644 $< $(DESTDIR)$(htmldir)/$<
.c.o: $(HEADERS)
- $(CC) -c $(CFLAGS) -DVERSION='"$(VERSION)"' $<
+ $(CC) -c $(CFLAGS) $(CPPFLAGS) -DVERSION='"$(VERSION)"' $<