pkgsrc-Users archive

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

Re: qcad can't read/import DXF files.



On Sat, 9 Nov 2019, John D. Baker wrote:

> I guess I haven't found all the culprits yet.

I think I've got them all hunted now.  "libqcadcore.so" needed the same
treatment.  Also tweaked my match RE to avoid matching things it shouldn't.

+Index: cad/qcad/Makefile
+===================================================================
+RCS file: /cvsroot/pkgsrc/cad/qcad/Makefile,v
+retrieving revision 1.77
+diff -u -p -r1.77 Makefile
+--- cad/qcad/Makefile	19 Sep 2019 21:59:36 -0000	1.77
++++ cad/qcad/Makefile	11 Nov 2019 15:03:49 -0000
+@@ -27,6 +27,17 @@ SUBST_FILES.paths+=	scripts/Help/ShowRea
+ SUBST_FILES.paths+=	scripts/Widgets/LibraryBrowser/LibraryBrowser.js
+ SUBST_VARS.paths=	PREFIX
+ 
++# Don't build intermediate libraries with the same name in debug mode as
++# in release-mode.
++SUBST_CLASSES+=		dbgmode
++SUBST_STAGE.dbgmode=	post-configure
++SUBST_MESSAGE.dbgmode=	Debug mode: lib*.so -> lib*_debug.so
++SUBST_FILES.dbgmode=	src/3rdparty/dxflib/Makefile.Debug
++SUBST_FILES.dbgmode+=	src/core/Makefile.Debug
++SUBST_FILES.dbgmode+=	src/entity/Makefile.Debug
++SUBST_FILES.dbgmode+=	src/operations/Makefile.Debug
++SUBST_SED.dbgmode=	-e 's,\(lib[dq]..*\)\(\.so\),\1_debug\2,g'
++
+ AUTO_MKDIRS=	yes
+ 
+ #

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index