summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorleot <leot>2016-02-20 17:30:21 +0000
committerleot <leot>2016-02-20 17:30:21 +0000
commit53066bd8acedd59a76278a09fb05be77a065fa84 (patch)
tree2b21d85826610768a85e0c8565326c624faa0cfc /print
parent25758700d00a263ab16a23d7b7624f8724dcfdd5 (diff)
downloadpkgsrc-53066bd8acedd59a76278a09fb05be77a065fa84.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"