pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/mupdf mupdf: Enable opengl by default on non-Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff734be6b9be
branches:  trunk
changeset: 410640:ff734be6b9be
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jan 26 13:08:39 2020 +0000

description:
mupdf: Enable opengl by default on non-Darwin

Briefly discussed with leot on IRC a while ago

diffstat:

 print/mupdf/Makefile   |  4 ++--
 print/mupdf/options.mk |  8 +++++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 92ca236d106b -r ff734be6b9be print/mupdf/Makefile
--- a/print/mupdf/Makefile      Sun Jan 26 12:59:20 2020 +0000
+++ b/print/mupdf/Makefile      Sun Jan 26 13:08:39 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.76 2020/01/18 21:48:21 jperkin Exp $
+# $NetBSD: Makefile,v 1.77 2020/01/26 13:08:39 nia Exp $
 
 DISTNAME=      mupdf-1.16.1-source
 PKGNAME=       ${DISTNAME:S/-source//}
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    print
 MASTER_SITES=  https://mupdf.com/downloads/archive/
 
diff -r 92ca236d106b -r ff734be6b9be print/mupdf/options.mk
--- a/print/mupdf/options.mk    Sun Jan 26 12:59:20 2020 +0000
+++ b/print/mupdf/options.mk    Sun Jan 26 13:08:39 2020 +0000
@@ -1,8 +1,14 @@
-# $NetBSD: options.mk,v 1.9 2019/08/30 17:01:34 nia Exp $
+# $NetBSD: options.mk,v 1.10 2020/01/26 13:08:39 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mupdf
 PKG_SUPPORTED_OPTIONS= curl opengl
 
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if ${OPSYS} != "Darwin"
+PKG_SUGGESTED_OPTIONS= opengl
+.endif
+
 .include "../../mk/bsd.options.mk"
 
 PLIST_VARS+=           curl opengl



Home | Main Index | Thread Index | Old Index