summaryrefslogtreecommitdiff
path: root/app-shells/hstr/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /app-shells/hstr/files
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'app-shells/hstr/files')
-rw-r--r--app-shells/hstr/files/hstr-2.0-fix-ncurses-configure.patch14
1 files changed, 5 insertions, 9 deletions
diff --git a/app-shells/hstr/files/hstr-2.0-fix-ncurses-configure.patch b/app-shells/hstr/files/hstr-2.0-fix-ncurses-configure.patch
index 215fd5cedfc9..9b5c089b67d8 100644
--- a/app-shells/hstr/files/hstr-2.0-fix-ncurses-configure.patch
+++ b/app-shells/hstr/files/hstr-2.0-fix-ncurses-configure.patch
@@ -1,5 +1,3 @@
-diff --git a/configure.ac b/configure.ac
-index 1676ec8..73c8be5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,39 +47,33 @@ then
@@ -44,14 +42,14 @@ index 1676ec8..73c8be5 100644
+if pkg-config --exists ncursesw
+then
+ AC_MSG_NOTICE([Module ncursesw found])
-+ NCURSESW_CFLAGS=`pkg-config --cflags ncursesw`
-+ NCURSESW_LIBS=`pkg-config --libs ncursesw`
++ NCURSESW_CFLAGS=`${PKG_CONFIG} --cflags ncursesw`
++ NCURSESW_LIBS=`${PKG_CONFIG} --libs ncursesw`
+else
-+ if pkg-config --exists ncurses
++ if ${PKG_CONFIG} --exists ncurses
+ then
+ AC_MSG_NOTICE([Module ncurses found])
-+ NCURSESW_CFLAGS=`pkg-config --cflags ncursesw`
-+ NCURSESW_LIBS=`pkg-config --libs ncurses`
++ NCURSESW_CFLAGS=`${PKG_CONFIG} --cflags ncursesw`
++ NCURSESW_LIBS=`${PKG_CONFIG} --libs ncurses`
+ else
+ AS_CASE([$host_os],
+ [darwin*],
@@ -69,8 +67,6 @@ index 1676ec8..73c8be5 100644
# Checks for libraries.
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 7640d21..17a82b7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -37,4 +37,4 @@ hstr_SOURCES = \