From: | "Michael Weber (xmw)" <xmw@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/mupdf/files: mupdf-9999-buildsystem.patch |
Date: | Wed, 28 Nov 2012 07:33:29 |
Message-Id: | 20121128073309.3AD7A20C9F@flycatcher.gentoo.org |
1 | xmw 12/11/28 07:33:09 |
2 | |
3 | Added: mupdf-9999-buildsystem.patch |
4 | Log: |
5 | Fix live build |
6 | |
7 | (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 62EEF090) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-text/mupdf/files/mupdf-9999-buildsystem.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-9999-buildsystem.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/mupdf/files/mupdf-9999-buildsystem.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: mupdf-9999-buildsystem.patch |
16 | =================================================================== |
17 | --- mupdf-1.0-source/Makerules |
18 | +++ mupdf-1.0-source/Makerules |
19 | @@ -6,7 +6,7 @@ |
20 | CFLAGS += -Wall |
21 | |
22 | ifeq "$(build)" "debug" |
23 | -CFLAGS += -pipe -g -DDEBUG |
24 | +CFLAGS += -DDEBUG |
25 | else ifeq "$(build)" "profile" |
26 | CFLAGS += -pipe -O2 -DNDEBUG -pg |
27 | LDFLAGS += -pg |
28 | @@ -21,9 +21,9 @@ |
29 | endif |
30 | |
31 | ifeq "$(OS)" "Linux" |
32 | -SYS_FREETYPE_INC := `pkg-config --cflags freetype2` |
33 | -SYS_OPENJPEG_INC := `pkg-config --cflags libopenjpeg` |
34 | -X11_LIBS := -lX11 -lXext |
35 | +SYS_FREETYPE_INC := $(shell pkg-config --cflags freetype2) |
36 | +SYS_OPENJPEG_INC := $(shell pkg-config --cflags libopenjpeg) |
37 | +X11_LIBS := $(shell pkg-config --libs x11 xext) |
38 | endif |
39 | |
40 | ifeq "$(OS)" "FreeBSD" |