summaryrefslogtreecommitdiff
path: root/app-benchmarks/i7z/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-21 18:58:21 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-21 18:58:21 +0100
commit3811bc3072bf19e2be351d2c63f81532945c0f21 (patch)
tree52b4da2dd6e3e391c6d505db21bf24fbedd2cb6e /app-benchmarks/i7z/files
parent741f84b9049559581fdb52d1f8b93b5105c1187b (diff)
gentoo resync : 21.07.2018
Diffstat (limited to 'app-benchmarks/i7z/files')
-rw-r--r--app-benchmarks/i7z/files/i7z-0.27.2-ncurses.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-benchmarks/i7z/files/i7z-0.27.2-ncurses.patch b/app-benchmarks/i7z/files/i7z-0.27.2-ncurses.patch
index 72695a951f7e..d521674af6cc 100644
--- a/app-benchmarks/i7z/files/i7z-0.27.2-ncurses.patch
+++ b/app-benchmarks/i7z/files/i7z-0.27.2-ncurses.patch
@@ -7,7 +7,7 @@ Index: Makefile
CC ?= gcc
-LIBS += -lncurses -lpthread -lrt -lm
-+LIBS += `pkg-config --libs ncurses` -lpthread -lrt -lm
++LIBS += `$(PKG_CONFIG) --libs ncurses` -lpthread -lrt -lm
INCLUDEFLAGS =
BIN = i7z
@@ -16,7 +16,7 @@ Index: Makefile
#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644728 for -ltinfo on debian
static-bin: message $(OBJ)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $(BIN) $(OBJ) -static-libgcc -DNCURSES_STATIC -static -lpthread -lncurses -lrt -lm -ltinfo
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o $(BIN) $(OBJ) -static-libgcc -DNCURSES_STATIC -static -lpthread `pkg-config --static --libs ncurses` -lrt -lm
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $(BIN) $(OBJ) -static-libgcc -DNCURSES_STATIC -static -lpthread `$(PKG_CONFIG) --static --libs ncurses` -lrt -lm
# perfmon-bin: message $(OBJ)
# $(CC) $(CFLAGS) $(LDFLAGS) -o $(PERFMON-BIN) perfmon-i7z.c helper_functions.c $(LIBS)