diff options
author | plunky <plunky@pkgsrc.org> | 2019-12-07 07:44:36 +0000 |
---|---|---|
committer | plunky <plunky@pkgsrc.org> | 2019-12-07 07:44:36 +0000 |
commit | 789fe73770470f6f2abfdce3921ac468de2f3c3c (patch) | |
tree | c7a39093c8a6344badb8516d8343801dfd8f65cb /cad | |
parent | f3dcf4ce635ed888513c8fc541b60d2789217324 (diff) | |
download | pkgsrc-789fe73770470f6f2abfdce3921ac468de2f3c3c.tar.gz |
ensure debug binaries are not built, by using target 'release'
instead of 'all'
Diffstat (limited to 'cad')
-rw-r--r-- | cad/qcad/Makefile | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile index 3b347b7b2ed..91817eeba5b 100644 --- a/cad/qcad/Makefile +++ b/cad/qcad/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.79 2019/11/13 00:26:49 gdt Exp $ +# $NetBSD: Makefile,v 1.80 2019/12/07 07:44:36 plunky Exp $ # DISTNAME= qcad-3.23.0.0 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= cad MASTER_SITES= ${MASTER_SITE_GITHUB:=qcad/} EXTRACT_USING= bsdtar @@ -27,21 +27,6 @@ SUBST_FILES.paths+= scripts/Help/ShowReadme/ShowReadme.js 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. (Resolves regular libraries ending up in debug -# mode, which breaks plugin loading.) -# Reported on QCad Community Edition forum: -# https://qcad.org/rsforum/viewtopic.php?f=76&t=6708 -# -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' - .include "../../mk/bsd.prefs.mk" PLIST_VARS+= glx egl .if ${OPSYS} != "Darwin" @@ -54,6 +39,9 @@ PLIST.egl= yes AUTO_MKDIRS= yes +# ensure we don't build debug libs +BUILD_TARGET= release + # # The QCad build system normally links direct to a release dir but this # causes a lot of problems with libtool dependencies. We patch it so that |