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.0-buildsystem.patch

21 lines
454 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
@@ -22,7 +22,7 @@
ifeq "$(OS)" "Linux"
SYS_FREETYPE_INC := `pkg-config --cflags freetype2`
-X11_LIBS := -lX11 -lXext
+X11_LIBS := $(shell pkg-config --libs x11 xext)
endif
ifeq "$(OS)" "FreeBSD"