summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2022-03-15 21:20:51 +0100
committerAdriaan de Groot <adridg@FreeBSD.org>2022-03-15 21:32:43 +0100
commitb97a7f5984cb5894ea5e2047ed749778b0ef51dc (patch)
tree9933ac7f6b2f0baacf0fd80cfc2a851c92b8b813
parentdevel/tortoisehg: Update to 6.1 (diff)
devel/qbs: mark BROKEN
(The build system) qbs fails to build when QScript is built with clang13 and any kind of optimization. There's an upstream bug for this, https://bugreports.qt.io/browse/QBS-1684 but no resolution yet. Since QScript is -- maybe not *deprecated*, but not-really-maintained -- unlikely to get fixes, we end up with qbs blocking its one single consumer, qtcreator. But qtcreator doesn't actually **need** qbs and can get by without. So mark as broken, so that the package builders will stop complaining.
-rw-r--r--devel/qbs/Makefile40
1 files changed, 4 insertions, 36 deletions
diff --git a/devel/qbs/Makefile b/devel/qbs/Makefile
index 03a52ca09806..2053e65ae996 100644
--- a/devel/qbs/Makefile
+++ b/devel/qbs/Makefile
@@ -1,6 +1,7 @@
PORTNAME= qbs
DISTVERSIONPREFIX= src-
DISTVERSION= 1.21.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= QT/official_releases/${PORTNAME}/${PORTVERSION}
DIST_SUBDIR= KDE/Qt/qbs
@@ -11,7 +12,9 @@ COMMENT= Qbs Build Suite
LICENSE= GPLv3 LGPL21
LICENSE_COMB= dual
-USES= compiler:c++11-lib gl python:run qmake:outsource qt:5 shebangfix
+BROKEN= does not build with clang13 or newer
+
+USES= cmake compiler:c++11-lib gl python:run qt:5 shebangfix
USE_GL= gl
USE_LDCONFIG= yes
USE_QT= core concurrent gui network script widgets xml \
@@ -19,41 +22,6 @@ USE_QT= core concurrent gui network script widgets xml \
SHEBANG_FILES= src/3rdparty/python/bin/dmgbuild
-QMAKE_ARGS= CONFIG+=qbs_disable_rpath \
- CONFIG+=qbs_enable_project_file_updates
-QMAKE_SOURCE_PATH= ${WRKSRC}/qbs.pro
-
-OPTIONS_DEFINE= DOCS
-DOCS_USES= qt:5
-DOCS_USE= QT=help_build,qdoc_build,sql-sqlite3_build
-OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
-
-ALL_TARGET= all
-INSTALL_TARGET= install
-
-DOCS_ALL_TARGET= docs
-DOCS_INSTALL_TARGET= install_docs
-
PLIST_SUB= SHLIB_VERSION="${PORTVERSION}"
-pre-configure:
-# We piggyback on QMAKE_LIBDIR_FLAGS to make sure -L${WRKSRC}/lib is passed to
-# the linker before -L/usr/local/lib. By default, the opposite happens, which
-# is a problem when a Qt port is being upgraded, since an existing library
-# would end up being picked up instead of those built in ${WRKSRC}/lib. Since
-# qmake appends the value of QMAKE_LIBDIR to QMAKE_LIBDIR_FLAGS, we can use the
-# latter to get the linker path order right. qmake is smart enough to strip
-# occurrences of ${WRKSRC}/lib from .pc and .prl files when installing them.
-# See QTBUG-40825 and ports bugs 194088, 195105 and 198720.
- ${MKDIR} ${CONFIGURE_WRKSRC}
- ${ECHO_CMD} 'QMAKE_LIBDIR_FLAGS = -L${CONFIGURE_WRKSRC}/lib' >> ${CONFIGURE_WRKSRC}/.qmake.cache
-
-# Workaround strip(1) problems
-post-stage:
- -${RM} ${STAGEDIR}${LOCALBASE}/libexec/qbs/ecp.*
-
-# The file in question is not used on FreeBSD. To silence stage-qa, remove it from stage-dir.
-post-install:
- ${RM} ${STAGEDIR}${DATADIR}/modules/bundle/update-specs.sh
-
.include <bsd.port.mk>