diff options
Diffstat (limited to 'app-text/mupdf/files/mupdf-1.1_rc1-buildsystem.patch')
-rw-r--r-- | app-text/mupdf/files/mupdf-1.1_rc1-buildsystem.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-text/mupdf/files/mupdf-1.1_rc1-buildsystem.patch b/app-text/mupdf/files/mupdf-1.1_rc1-buildsystem.patch new file mode 100644 index 000000000000..fc7572ebe7d4 --- /dev/null +++ b/app-text/mupdf/files/mupdf-1.1_rc1-buildsystem.patch @@ -0,0 +1,22 @@ +--- 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" |