a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= kactivitymanagerd
|
|
PORTVERSION= ${KDE4_ACTIVITIES_VERSION}
|
|
PORTREVISION= 7
|
|
CATEGORIES= x11 kde
|
|
MASTER_SITES= KDE/Attic/${PORTVERSION}/src
|
|
DISTNAME= kactivities-${PORTVERSION}
|
|
DIST_SUBDIR= KDE/${PORTVERSION}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Activity Manager daemon
|
|
|
|
DEPRECATED= Qt4 has been EOL since december 2015
|
|
EXPIRATION_DATE= 2018-12-31
|
|
|
|
USES= cmake:outsource compiler:c++11-lib kde:4 qt:4 tar:xz
|
|
USE_KDE= automoc4 kdelibs soprano nepomuk-core \
|
|
kactivities
|
|
USE_QT= declarative opengl script sql \
|
|
moc_build qmake_build rcc_build uic_build
|
|
USE_LDCONFIG= yes
|
|
DISTINFO_FILE= ${.CURDIR}/../kactivities/distinfo
|
|
MAKE_ENV= XDG_CONFIG_HOME=/dev/null
|
|
|
|
# https://bugs.kde.org/show_bug.cgi?id=305529#c10
|
|
CMAKE_ARGS+= -DCMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS=-rdynamic
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# Workaround to keep kactivitymanagerd from crashing:
|
|
# http://lists.freebsd.org/pipermail/freebsd-current/2012-May/033972.html
|
|
.if ${OPSYS} == FreeBSD
|
|
CXXFLAGS+= -fno-use-cxa-atexit
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "/add_subdirectory (lib)/d" \
|
|
-e "/add_subdirectory (ontologies)/d" \
|
|
${WRKSRC}/src/CMakeLists.txt \
|
|
|
|
.include <bsd.port.post.mk>
|