You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/mupdf/files/mupdf-1.1_rc1-buildsystem.p...

23 lines
521 B

--- mupdf-1.0-source/Makerules
+++ mupdf-1.0-source/Makerules
@@ -6,7 +6,7 @@
CFLAGS += -Wall
ifeq "$(build)" "debug"
-CFLAGS += -pipe -g -DDEBUG
+CFLAGS += -DDEBUG
else ifeq "$(build)" "profile"
CFLAGS += -pipe -O2 -DNDEBUG -pg
LDFLAGS += -pg
@@ -21,8 +21,8 @@
endif
ifeq "$(OS)" "Linux"
-SYS_FREETYPE_INC := `pkg-config --cflags freetype2`
-X11_LIBS := -lX11 -lXext
+SYS_FREETYPE_INC := $(shell pkg-config --cflags freetype2)
+X11_LIBS := $(shell pkg-config --libs x11 xext)
endif
ifeq "$(OS)" "FreeBSD"