summaryrefslogtreecommitdiff
path: root/graphics/mupdf/files/patch-Makerules
diff options
context:
space:
mode:
authorAlexandre C. GuimarĂ£es <rigoletto@FreeBSD.org>2019-02-24 18:39:42 +0000
committerAlexandre C. GuimarĂ£es <rigoletto@FreeBSD.org>2019-02-24 18:39:42 +0000
commitfa5d9a39eb5c08913ddc1e398431fad3bed4eb89 (patch)
tree69e6b7b1639e8ef33318bfd19d0c475d8cf528d1 /graphics/mupdf/files/patch-Makerules
parentSwitch to use wxGTK30 (diff)
graphics/mupdf: fix mupdf-gl not being built.
PR: 236002 Reported by: Oleh Hushchenkov <o.hushchenkov@gmail.com> Approved by: tcberner (mentor)
Diffstat (limited to 'graphics/mupdf/files/patch-Makerules')
-rw-r--r--graphics/mupdf/files/patch-Makerules3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/mupdf/files/patch-Makerules b/graphics/mupdf/files/patch-Makerules
index 238af0ad7967..3878e5d9a25c 100644
--- a/graphics/mupdf/files/patch-Makerules
+++ b/graphics/mupdf/files/patch-Makerules
@@ -43,7 +43,7 @@
LIBS += -lprofiler
else
$(error unknown build setting: '$(build)')
-@@ -143,7 +143,58 @@ else ifeq ($(OS),Linux)
+@@ -143,7 +143,59 @@ else ifeq ($(OS),Linux)
PTHREAD_LIBS := -lpthread
endif
@@ -60,6 +60,7 @@
+ SYS_FREETYPE_CFLAGS := $(shell pkg-config --cflags freetype2)
+ SYS_FREETYPE_LIBS := $(shell pkg-config --libs freetype2)
+ # glut
++ HAVE_GLUT := yes
+ USE_SYSTEM_GLUT := yes
+ SYS_GLUT_CFLAGS :=
+ SYS_GLUT_LIBS := -lglut -lGL