mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
7eac8c3d7a
Summary: * Update devel/qbs to 1.6.0 * Update devel/qtcreator to 4.1.0 * Add the QMAKE_LIBDIR_FLAGS hack we use in bsd.qt.mk for the Qt-ports. This should hopefully make it possible to upgrade qbs & qtcreator without deinstalling them first. * As there is a qtcreator plugin linking against libqbscore.so, change the RUN_- and BUILD_DEPENDS into a LIB_DEPENDS. Test Plan: Tested in poudriere: 9.3 (32&64), 10.3 (32&64), 12 (64) Reviewed by: rakuco Approved by: rakuco (mentor) Differential Revision: https://reviews.freebsd.org/D7884
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= qbs
|
|
PORTVERSION= 1.6.0
|
|
DISTVERSIONPREFIX= src-
|
|
CATEGORIES= devel
|
|
MASTER_SITES= QT/official_releases/${PORTNAME}/${PORTVERSION}
|
|
DIST_SUBDIR= KDE/Qt/qbs
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt Build Suite
|
|
|
|
LICENSE= GPLv3 LGPL21
|
|
LICENSE_COMB= dual
|
|
|
|
USES= compiler:c++11-lib qmake:outsource
|
|
USE_GL= gl
|
|
USE_LDCONFIG= yes
|
|
USE_QT5= buildtools_build core concurrent gui network script testlib \
|
|
widgets xml
|
|
|
|
QMAKE_SOURCE_PATH= ${WRKSRC}/qbs.pro
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
DOCS_USE= QT5=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
|
|
|
|
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.
|
|
${ECHO_CMD} 'QMAKE_LIBDIR_FLAGS = -L${WRKSRC}/lib' >> ${WRKSRC}/.qmake.cache
|
|
|
|
.include <bsd.port.mk>
|