diff options
author | richard <richard@pkgsrc.org> | 2014-06-15 16:01:58 +0000 |
---|---|---|
committer | richard <richard@pkgsrc.org> | 2014-06-15 16:01:58 +0000 |
commit | ff0f4391b1e7cf331bd92026ed3ee6b043ef8f8b (patch) | |
tree | 099846abaef88d74c7cbf83c534008f2663f36a3 | |
parent | b4ffab629ecdc16110911f7ac0583f520d66aec1 (diff) | |
download | pkgsrc-ff0f4391b1e7cf331bd92026ed3ee6b043ef8f8b.tar.gz |
define _XOPEN_SOURCE=600 for SunOS after setting c99 in general
-rw-r--r-- | print/mupdf/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/print/mupdf/Makefile b/print/mupdf/Makefile index 71e88a6d2e5..c625a8f9f7e 100644 --- a/print/mupdf/Makefile +++ b/print/mupdf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2014/06/15 14:14:18 wiz Exp $ +# $NetBSD: Makefile,v 1.27 2014/06/15 16:01:58 richard Exp $ DISTNAME= mupdf-1.5-source PKGNAME= ${DISTNAME:S/-source//} @@ -10,6 +10,7 @@ HOMEPAGE= http://mupdf.com/ COMMENT= Lightweight PDF viewer and toolkit LICENSE= gnu-agpl-v3 +USE_LANGUAGES+= c99 USE_LIBTOOL= yes USE_TOOLS+= pkg-config gmake @@ -18,8 +19,11 @@ INSTALL_MAKE_FLAGS+= prefix=${PREFIX} INSTALL_MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} LDFLAGS= ${COMPILER_RPATH_FLAG}${X11BASE}/lib MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q} +MAKE_FLAGS+= XCFLAGS=${CFLAGS:Q} MAKE_FLAGS+= build=release +CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 + .include "options.mk" # Remove thirdparty directory in order to use the libraries provided by pkgsrc |