pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/cad/qcad qcad: Handle platforms without EGL support (N...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b3308a48b349
branches:  trunk
changeset: 342927:b3308a48b349
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Oct 27 15:43:23 2019 +0000

description:
qcad: Handle platforms without EGL support (NetBSD 8...)

diffstat:

 cad/qcad/Makefile |  12 +++++++++++-
 cad/qcad/PLIST    |   6 +++---
 2 files changed, 14 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r ce2031d20841 -r b3308a48b349 cad/qcad/Makefile
--- a/cad/qcad/Makefile Sun Oct 27 15:27:06 2019 +0000
+++ b/cad/qcad/Makefile Sun Oct 27 15:43:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2019/09/19 21:59:36 nia Exp $
+# $NetBSD: Makefile,v 1.78 2019/10/27 15:43:23 nia Exp $
 #
 
 DISTNAME=              qcad-3.23.0.0
@@ -27,6 +27,16 @@
 SUBST_FILES.paths+=    scripts/Widgets/LibraryBrowser/LibraryBrowser.js
 SUBST_VARS.paths=      PREFIX
 
+.include "../../mk/bsd.prefs.mk"
+PLIST_VARS+=   glx egl
+.if ${OPSYS} != "Darwin"
+PLIST.glx=     yes
+.  include "../../graphics/MesaLib/buildlink3.mk"
+.  if ${MESALIB_SUPPORTS_EGL} == "yes"
+PLIST.egl=     yes
+.  endif
+.endif
+
 AUTO_MKDIRS=   yes
 
 #
diff -r ce2031d20841 -r b3308a48b349 cad/qcad/PLIST
--- a/cad/qcad/PLIST    Sun Oct 27 15:27:06 2019 +0000
+++ b/cad/qcad/PLIST    Sun Oct 27 15:43:23 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2019/09/19 21:59:36 nia Exp $
+@comment $NetBSD: PLIST,v 1.15 2019/10/27 15:43:23 nia Exp $
 bin/qcad
 lib/libdxflib.so
 lib/libopennurbs.so
@@ -10431,8 +10431,8 @@
 lib/qcad/ts/scripts_zh_CN.ts
 lib/qcad/ts/scripts_zh_TW.qm
 lib/qcad/ts/scripts_zh_TW.ts
-lib/qcad/xcbglintegrations/libqxcb-egl-integration.so
-lib/qcad/xcbglintegrations/libqxcb-glx-integration.so
+${PLIST.egl}lib/qcad/xcbglintegrations/libqxcb-egl-integration.so
+${PLIST.glx}lib/qcad/xcbglintegrations/libqxcb-glx-integration.so
 lib/qcad/xcbglintegrations/readme.txt
 man/man1/qcad.1
 share/applications/qcad.desktop



Home | Main Index | Thread Index | Old Index