pkgsrc-Changes archive

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

CVS commit: pkgsrc/cad/qcad



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Oct 27 15:43:23 UTC 2019

Modified Files:
        pkgsrc/cad/qcad: Makefile PLIST

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


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 pkgsrc/cad/qcad/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/cad/qcad/PLIST

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

Modified files:

Index: pkgsrc/cad/qcad/Makefile
diff -u pkgsrc/cad/qcad/Makefile:1.77 pkgsrc/cad/qcad/Makefile:1.78
--- pkgsrc/cad/qcad/Makefile:1.77       Thu Sep 19 21:59:36 2019
+++ pkgsrc/cad/qcad/Makefile    Sun Oct 27 15:43:23 2019
@@ -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/Help/ShowRea
 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
 
 #

Index: pkgsrc/cad/qcad/PLIST
diff -u pkgsrc/cad/qcad/PLIST:1.14 pkgsrc/cad/qcad/PLIST:1.15
--- pkgsrc/cad/qcad/PLIST:1.14  Thu Sep 19 21:59:36 2019
+++ pkgsrc/cad/qcad/PLIST       Sun Oct 27 15:43:23 2019
@@ -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.qm
 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