summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2016-02-20 17:30:21 +0000
committerleot <leot@pkgsrc.org>2016-02-20 17:30:21 +0000
commit2b663b18f204f7085863e3d22d699267f0d5f3e4 (patch)
tree2b21d85826610768a85e0c8565326c624faa0cfc /print
parenta9b83c468b0e3ccce314536893185176a2a4b559 (diff)
downloadpkgsrc-2b663b18f204f7085863e3d22d699267f0d5f3e4.tar.gz
Add -D_XOPEN_SOURCE=600 to CPPFLAGS in order to avoid build issues on SunOS.
Diffstat (limited to 'print')
-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"