summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/mupdf/files/mupdf-1.1_p20121127-buildsystem.patch')
-rw-r--r--app-text/mupdf/files/mupdf-1.1_p20121127-buildsystem.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-text/mupdf/files/mupdf-1.1_p20121127-buildsystem.patch b/app-text/mupdf/files/mupdf-1.1_p20121127-buildsystem.patch
new file mode 100644
index 000000000000..d15187486105
--- /dev/null
+++ b/app-text/mupdf/files/mupdf-1.1_p20121127-buildsystem.patch
@@ -0,0 +1,24 @@
+--- 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,9 +21,9 @@
+ endif
+
+ ifeq "$(OS)" "Linux"
+-SYS_FREETYPE_INC := `pkg-config --cflags freetype2`
+-SYS_OPENJPEG_INC := `pkg-config --cflags libopenjpeg`
+-X11_LIBS := -lX11 -lXext
++SYS_FREETYPE_INC := $(shell pkg-config --cflags freetype2)
++SYS_OPENJPEG_INC := $(shell pkg-config --cflags libopenjpeg)
++X11_LIBS := $(shell pkg-config --libs x11 xext)
+ endif
+
+ ifeq "$(OS)" "FreeBSD"