Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-roguelike/stone-soup/files/
Date: Wed, 25 Oct 2017 10:34:14
Message-Id: 1508927632.218086fe54d54874836389eda013c3501036ccd9.jer@gentoo
1 commit: 218086fe54d54874836389eda013c3501036ccd9
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 25 10:33:52 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 25 10:33:52 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218086fe
7
8 games-roguelike/stone-soup: Fix pkg-config call.
9
10 Package-Manager: Portage-2.3.12, Repoman-2.3.3
11
12 .../stone-soup-0.16.2-Use-pkg-config-for-linking-to-ncurses.patch | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/games-roguelike/stone-soup/files/stone-soup-0.16.2-Use-pkg-config-for-linking-to-ncurses.patch b/games-roguelike/stone-soup/files/stone-soup-0.16.2-Use-pkg-config-for-linking-to-ncurses.patch
16 index 0c029c9f096..e0b676c3d2e 100644
17 --- a/games-roguelike/stone-soup/files/stone-soup-0.16.2-Use-pkg-config-for-linking-to-ncurses.patch
18 +++ b/games-roguelike/stone-soup/files/stone-soup-0.16.2-Use-pkg-config-for-linking-to-ncurses.patch
19 @@ -18,12 +18,12 @@ index df51e70..2db2781 100644
20 ifdef LIBNCURSES_IS_UNICODE
21 -NC_LIB = ncurses
22 -NC_INCLUDE = $(NC_PREFIX)/include/ncurses
23 -+NC_LIBS = $(shell $(PKGCONFIG) --lib ncurses 2>/dev/null || echo "-L$(NC_PREFIX)/lib -lncurses")
24 ++NC_LIBS = $(shell $(PKGCONFIG) --libs ncurses 2>/dev/null || echo "-L$(NC_PREFIX)/lib -lncurses")
25 +NC_CFLAGS = $(shell $(PKGCONFIG) --cflags ncurses 2>/dev/null || echo "-isystem $(NC_PREFIX)/include/ncurses")
26 else
27 -NC_LIB = ncursesw
28 -NC_INCLUDE = $(NC_PREFIX)/include/ncursesw
29 -+NC_LIBS = $(shell $(PKGCONFIG) --lib ncursesw || echo "-L$(NC_PREFIX)/lib -lncursesw")
30 ++NC_LIBS = $(shell $(PKGCONFIG) --libs ncursesw || echo "-L$(NC_PREFIX)/lib -lncursesw")
31 +NC_CFLAGS = $(shell $(PKGCONFIG) --cflags ncursesw 2>/dev/null || echo "-isystem $(NC_PREFIX)/include/ncursesw")
32 endif