pkgsrc-WIP-changes archive

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

qtcreator: move this build a bit more.



Module Name:	pkgsrc-wip
Committed By:	Maya Rashish <maya%NetBSD.org@localhost>
Pushed By:	coypu
Date:		Sat Nov 28 00:19:34 2020 +0200
Changeset:	b01a0a87bd7bfc178bb4307b2b03762e8797a39d

Modified Files:
	qtcreator/Makefile

Log Message:
qtcreator: move this build a bit more.

this qmake/cmake/gmake combination somehow keeps going even on a
failed link. And somehow the logic that exists to not use -ldl
on *BSD doens't work.

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

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

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

diffs:
diff --git a/qtcreator/Makefile b/qtcreator/Makefile
index 5b08184fcc..b53c3fb951 100644
--- a/qtcreator/Makefile
+++ b/qtcreator/Makefile
@@ -76,4 +76,8 @@ do-configure:
 .include "../../x11/qt5-qtscript/buildlink3.mk"
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+# XXX libSqlite.so fails to link but silently resumes without this.
+# XXX Unclear why the conditional doesn't work for NetBSD.
+BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:Q}
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index