summaryrefslogtreecommitdiff
path: root/print/zathura-pdf-mupdf
diff options
context:
space:
mode:
authorleot <leot>2016-02-20 17:30:21 +0000
committerleot <leot>2016-02-20 17:30:21 +0000
commit57109e8aa0019f913e8085c69c70ae8dc4fa5de7 (patch)
tree2b21d85826610768a85e0c8565326c624faa0cfc /print/zathura-pdf-mupdf
parentcd923603cd5db40cea4fa22d30aef07557fbaa3b (diff)
downloadpkgsrc-57109e8aa0019f913e8085c69c70ae8dc4fa5de7.tar.gz
Add -D_XOPEN_SOURCE=600 to CPPFLAGS in order to avoid build issues on SunOS.
Diffstat (limited to 'print/zathura-pdf-mupdf')
-rw-r--r--print/zathura-pdf-mupdf/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/zathura-pdf-mupdf/Makefile b/print/zathura-pdf-mupdf/Makefile
index ae90286a0f6..55ea2e142e1 100644
--- a/print/zathura-pdf-mupdf/Makefile
+++ b/print/zathura-pdf-mupdf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2016/02/15 03:04:27 leot Exp $
+# $NetBSD: Makefile,v 1.3 2016/02/20 17:30:21 leot Exp $
#
DISTNAME= zathura-pdf-mupdf-0.3.0
@@ -15,6 +15,8 @@ CONFLICTS+= zathura-pdf-poppler-[0-9]*
USE_TOOLS+= pkg-config gmake
USE_LIBTOOL= yes
+CPPFLAGS+= -D_XOPEN_SOURCE=600
+
MAKE_ENV+= MUPDF_LIB="-lmupdf -lmujs"
.include "../../graphics/cairo/buildlink3.mk"