pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/mupdf



Module Name:    pkgsrc
Committed By:   vins
Date:           Wed Jul 19 14:46:38 UTC 2023

Modified Files:
        pkgsrc/print/mupdf: PLIST options.mk

Log Message:
print/mupdf: fix broken build on Linux (opengl enabled).

Aside from NetBSD, `-lGL' is required by the linker on Linux too.
Pass it to LDFLAGS by default on all platforms when building the
OpenGL viewer (default: on).

Also fix PLIST when mupdf is built with curl support.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/print/mupdf/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/print/mupdf/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/mupdf/PLIST
diff -u pkgsrc/print/mupdf/PLIST:1.25 pkgsrc/print/mupdf/PLIST:1.26
--- pkgsrc/print/mupdf/PLIST:1.25       Sat Apr 29 08:17:53 2023
+++ pkgsrc/print/mupdf/PLIST    Wed Jul 19 14:46:38 2023
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.25 2023/04/29 08:17:53 wiz Exp $
+@comment $NetBSD: PLIST,v 1.26 2023/07/19 14:46:38 vins Exp $
 bin/mupdf
-${PLIST.curl}bin/mupdf-curl
+${PLIST.curl}bin/mupdf-x11-curl
 ${PLIST.opengl}bin/mupdf-gl
 bin/muraster
 bin/mutool

Index: pkgsrc/print/mupdf/options.mk
diff -u pkgsrc/print/mupdf/options.mk:1.11 pkgsrc/print/mupdf/options.mk:1.12
--- pkgsrc/print/mupdf/options.mk:1.11  Tue Apr  7 12:13:01 2020
+++ pkgsrc/print/mupdf/options.mk       Wed Jul 19 14:46:38 2023
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.11 2020/04/07 12:13:01 wiz Exp $
+# $NetBSD: options.mk,v 1.12 2023/07/19 14:46:38 vins Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mupdf
 PKG_SUPPORTED_OPTIONS= curl opengl
@@ -28,7 +28,7 @@ PLIST.curl=   yes
 PLIST.opengl=  yes
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../graphics/freeglut/buildlink3.mk"
-LDFLAGS.NetBSD+=       -lGL # for glCallList
+LDFLAGS+=      -lGL # for glCallList
 .else
 MAKE_ENV+=     HAVE_GLUT=no
 .endif



Home | Main Index | Thread Index | Old Index