From 3699f64fa928e498f86e3d6761ff2d20712042cd Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Fri, 9 Nov 2018 12:12:00 +0100 Subject: app-benchmarks/wrk: bump to EAPI 7. I will also proxy maintain this package. Signed-off-by: Conrad Kostecki Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10374 Signed-off-by: Patrice Clement --- .../wrk/files/wrk-4.1.0-r1-makefile.patch | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 app-benchmarks/wrk/files/wrk-4.1.0-r1-makefile.patch (limited to 'app-benchmarks/wrk/files') diff --git a/app-benchmarks/wrk/files/wrk-4.1.0-r1-makefile.patch b/app-benchmarks/wrk/files/wrk-4.1.0-r1-makefile.patch new file mode 100644 index 000000000000..6e7dd317b8fb --- /dev/null +++ b/app-benchmarks/wrk/files/wrk-4.1.0-r1-makefile.patch @@ -0,0 +1,37 @@ +--- a/Makefile 2018-01-21 07:00:58.000000000 +0100 ++++ b/Makefile 2018-11-09 11:58:57.000000000 +0100 +@@ -1,4 +1,4 @@ +-CFLAGS += -std=c99 -Wall -O2 -D_REENTRANT ++CFLAGS += -std=c99 -Wall -D_REENTRANT + LIBS := -lpthread -lm -lssl -lcrypto + + TARGET := $(shell uname -s | tr '[A-Z]' '[a-z]' 2>/dev/null || echo unknown) +@@ -24,7 +24,7 @@ + + ODIR := obj + OBJ := $(patsubst %.c,$(ODIR)/%.o,$(SRC)) $(ODIR)/bytecode.o $(ODIR)/version.o +-LIBS := -lluajit-5.1 $(LIBS) ++LIBS := $(shell pkg-config luajit --libs) $(LIBS) + + DEPS := + CFLAGS += -I$(ODIR)/include +@@ -51,8 +51,7 @@ + $(RM) -rf $(BIN) obj/* + + $(BIN): $(OBJ) +- @echo LINK $(BIN) +- @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) ++ $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + + $(OBJ): config.h Makefile $(DEPS) | $(ODIR) + +@@ -67,8 +66,7 @@ + @echo 'const char *VERSION="$(VER)";' | $(CC) -xc -c -o $@ - + + $(ODIR)/%.o : %.c +- @echo CC $< +- @$(CC) $(CFLAGS) -c -o $@ $< ++ $(CC) $(CFLAGS) -c -o $@ $< + + # Dependencies + -- cgit v1.2.3-65-gdbad