From: | "Michael Weber (xmw)" <xmw@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/mujs/files: mujs-0_p20150202-Makefile.patch |
Date: | Mon, 01 Jun 2015 12:05:31 |
Message-Id: | 20150601120528.198CEA14@oystercatcher.gentoo.org |
1 | xmw 15/06/01 12:05:28 |
2 | |
3 | Added: mujs-0_p20150202-Makefile.patch |
4 | Log: |
5 | Initial import for app-text/mupdf |
6 | |
7 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 62EEF090) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-lang/mujs/files/mujs-0_p20150202-Makefile.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mujs/files/mujs-0_p20150202-Makefile.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mujs/files/mujs-0_p20150202-Makefile.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: mujs-0_p20150202-Makefile.patch |
16 | =================================================================== |
17 | --- mujs-0_p20150202/Makefile |
18 | +++ mujs-0_p20150202/Makefile |
19 | @@ -2,23 +2,17 @@ |
20 | HDRS := $(wildcard js*.h mujs.h utf.h regex.h) |
21 | OBJS := $(SRCS:%.c=build/%.o) |
22 | |
23 | -prefix ?= /usr/local |
24 | +prefix ?= /usr |
25 | bindir ?= $(prefix)/bin |
26 | incdir ?= $(prefix)/include |
27 | libdir ?= $(prefix)/lib |
28 | |
29 | -CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter |
30 | +CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter |
31 | |
32 | ifeq "$(CC)" "clang" |
33 | CFLAGS += -Wunreachable-code |
34 | endif |
35 | |
36 | -ifeq "$(build)" "debug" |
37 | -CFLAGS += -g |
38 | -else |
39 | -CFLAGS += -O2 |
40 | -endif |
41 | - |
42 | default: build build/mujs build/mujsone |
43 | |
44 | debug: |