pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/mupdf mupdf: move GL linking into GL option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99d50d72c6e8
branches:  trunk
changeset: 426861:99d50d72c6e8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Apr 07 12:13:01 2020 +0000

description:
mupdf: move GL linking into GL option

Noted by leo@, thanks!

diffstat:

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

diffs (34 lines):

diff -r 0587ef2f4508 -r 99d50d72c6e8 print/mupdf/Makefile
--- a/print/mupdf/Makefile      Tue Apr 07 12:12:40 2020 +0000
+++ b/print/mupdf/Makefile      Tue Apr 07 12:13:01 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2020/04/07 09:37:46 wiz Exp $
+# $NetBSD: Makefile,v 1.81 2020/04/07 12:13:01 wiz Exp $
 
 DISTNAME=      mupdf-1.16.1-source
 PKGNAME=       ${DISTNAME:S/-source//}
@@ -19,7 +19,6 @@
 INSTALL_MAKE_FLAGS+=   prefix=${PREFIX}
 INSTALL_MAKE_FLAGS+=   mandir=${PREFIX}/${PKGMANDIR}
 LDFLAGS+=              ${COMPILER_RPATH_FLAG}${X11BASE}/lib
-LDFLAGS.NetBSD+=       -lGL # for glCallList
 MAKE_FLAGS+=           LDFLAGS=${LDFLAGS:Q}
 MAKE_FLAGS+=           XCFLAGS=${CFLAGS:Q}
 MAKE_FLAGS+=           build=release
diff -r 0587ef2f4508 -r 99d50d72c6e8 print/mupdf/options.mk
--- a/print/mupdf/options.mk    Tue Apr 07 12:12:40 2020 +0000
+++ b/print/mupdf/options.mk    Tue Apr 07 12:13:01 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2020/01/26 13:08:39 nia Exp $
+# $NetBSD: options.mk,v 1.11 2020/04/07 12:13:01 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mupdf
 PKG_SUPPORTED_OPTIONS= curl opengl
@@ -28,6 +28,7 @@
 PLIST.opengl=  yes
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../graphics/freeglut/buildlink3.mk"
+LDFLAGS.NetBSD+=       -lGL # for glCallList
 .else
 MAKE_ENV+=     HAVE_GLUT=no
 .endif



Home | Main Index | Thread Index | Old Index