pkgsrc-WIP-changes archive

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

qtcreator: build now gets stuck in -lClangsupport -lSqlite not



Module Name:	pkgsrc-wip
Committed By:	Maya Rashish <maya%NetBSD.org@localhost>
Pushed By:	coypu
Date:		Fri Nov 27 21:36:17 2020 +0200
Changeset:	5d221d71f4539a896a381c9ce41b24a718bbab9c

Modified Files:
	qtcreator/Makefile

Log Message:
qtcreator: build now gets stuck in -lClangsupport -lSqlite not

existing.

Require python2.7, because python 3.x has a header called context.h
that ends up getting included before the package's context.h.
let's build with clang support, it got detected because I had the
executable, but we probably want it anyway (it's an IDE).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5d221d71f4539a896a381c9ce41b24a718bbab9c

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

diffstat:
 qtcreator/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diffs:
diff --git a/qtcreator/Makefile b/qtcreator/Makefile
index 8034cfce43..5b08184fcc 100644
--- a/qtcreator/Makefile
+++ b/qtcreator/Makefile
@@ -58,6 +58,10 @@ REPLACE_PERL+=	scripts/updateCopyright.pl
 INSTALL_MAKE_FLAGS+=	INSTALL_ROOT=${DESTDIR}/${PREFIX}
 INSTALL_TARGET=		install install_inst_qch_docs
 
+# Has a header called context.h (also in python 3.x) and it includes
+# python headers before its own headers.
+PYTHON_VERSIONS_ACCEPTED=	27
+
 #LDFLAGS+=	${COMPILER_RPATH_FLAG}${QTDIR}/lib
 #LDFLAGS+=	${COMPILER_RPATH_FLAG}${X11BASE}/lib
 
@@ -66,8 +70,10 @@ do-configure:
 
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../lang/python/application.mk"
+.include "../../lang/clang/buildlink3.mk"
 .include "../../x11/qt5-qtsvg/buildlink3.mk"
 .include "../../x11/qt5-qtserialport/buildlink3.mk"
 .include "../../x11/qt5-qtscript/buildlink3.mk"
 .include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index