From 53066bd8acedd59a76278a09fb05be77a065fa84 Mon Sep 17 00:00:00 2001 From: leot Date: Sat, 20 Feb 2016 17:30:21 +0000 Subject: Add -D_XOPEN_SOURCE=600 to CPPFLAGS in order to avoid build issues on SunOS. --- print/zathura-pdf-mupdf/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'print') 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" -- cgit v1.2.3