Debian Codegraph @

debian/patches/0001-Replace-icu-config-with-pkg-config.patch

raw symbols SCIP
1 Fromscip-debian debian an 1.2-8 an/patches/`0001-Replace-icu-config-with-pkg-config.patch`#From.: Paride Legovini <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian an 1.2-8 an/patches/`0001-Replace-icu-config-with-pkg-config.patch`#Date.: Sat, 15 Dec 2018 13:46:41 +0100
3 Subjectscip-debian debian an 1.2-8 an/patches/`0001-Replace-icu-config-with-pkg-config.patch`#Subject.: Replace icu-config with pkg-config
4
5 ---
6 Makefile | 8 ++++----
7 1 file changed, 4 insertions(+), 4 deletions(-)
8
9 diff --git a/Makefilescip-debian debian an 1.2-8 an/upstream/Makefile: b/Makefilescip-debian debian an 1.2-8 an/upstream/Makefile:
10 index e341882..1da254f 100644
11 --- a/Makefile
12 +++ b/Makefile
13 @@ -22,10 +22,10 @@ MANDIR := $(DESTDIR)/usr/share/man/man6
14 CC:=gcc
15 INSTALL:=install
16
17 -CFLAGS += $(shell icu-config --cflags)
18 -CPPFLAGS += $(shell icu-config --cppflags) -D_BSD_SOURCE=1 -D_GNU_SOURCE=1
19 -LDFLAGS += $(shell icu-config --ldflags)
20 -LIBS += $(shell icu-config --ldflags-libsonly)
21 +PKG_CONFIG ?= pkg-config
22 +CFLAGS += $(shell $(PKG_CONFIG) --cflags icu-i18n)
23 +CPPFLAGS += -D_DEFAULT_SOURCE
24 +LIBS += $(shell $(PKG_CONFIG) --libs icu-i18n)
25
26 BIN=an
27 MAN=an.6