xmw 15/06/01 12:05:28 Added: mujs-0_p20150202-Makefile.patch Log: Initial import for app-text/mupdf (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Revision Changes Path 1.1 dev-lang/mujs/files/mujs-0_p20150202-Makefile.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mujs/files/mujs-0_p20150202-Makefile.patch?rev=1.1&view=markup 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 Index: mujs-0_p20150202-Makefile.patch =================================================================== --- mujs-0_p20150202/Makefile +++ mujs-0_p20150202/Makefile @@ -2,23 +2,17 @@ HDRS := $(wildcard js*.h mujs.h utf.h regex.h) OBJS := $(SRCS:%.c=build/%.o) -prefix ?= /usr/local +prefix ?= /usr bindir ?= $(prefix)/bin incdir ?= $(prefix)/include libdir ?= $(prefix)/lib -CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter +CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter ifeq "$(CC)" "clang" CFLAGS += -Wunreachable-code endif -ifeq "$(build)" "debug" -CFLAGS += -g -else -CFLAGS += -O2 -endif - default: build build/mujs build/mujsone debug:
