From 2bc850a1ec2f814f5d9fc67c4776cd4bd8438c5b Mon Sep 17 00:00:00 2001 From: Alonso Schaich Date: Tue, 9 Dec 2014 07:39:50 +0000 Subject: [PATCH] Fix build of kdevelop on FreeBSD8 and 9 devel/kdevplatform requires a c++11 conformant compiler and runtime libraries. Further, it exposes these requirements to its consumer PORTS by exposing c++11 stl interfaces in its header files. Also, devel/kdevelop requires a c++11 runtime library by its usage of initializer lists on top of its kdevplatform consumage. Have the kdevplatform, kdevelop and kdevelop-php PORTS require a corresponsing toolchain by USEing compiler:c++11-lib While here, add cmake:outsource to these ports. PR: 195742 Approved by: rakuco (mentor) --- devel/kdevelop-kde4/Makefile | 2 +- devel/kdevelop-php-docs/Makefile | 2 +- devel/kdevelop-php/Makefile | 2 +- devel/kdevplatform/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/devel/kdevelop-kde4/Makefile b/devel/kdevelop-kde4/Makefile index 64384879ddd0..e073b62ab690 100644 --- a/devel/kdevelop-kde4/Makefile +++ b/devel/kdevelop-kde4/Makefile @@ -17,7 +17,7 @@ RUN_DEPENDS= gmake:${PORTSDIR}/devel/gmake USE_KDE4= kdelibs kdeprefix workspace automoc4 USE_QT4= qmake_build moc_build uic_build rcc_build \ corelib declarative gui help script webkit xml -USES= cmake gmake shared-mime-info tar:xz +USES= cmake:outsource compiler:c++11-lib gmake shared-mime-info tar:xz OPTIONS_DEFINE= OKTETA PHP NLS OPTIONS_DEFAULT= OKTETA PHP diff --git a/devel/kdevelop-php-docs/Makefile b/devel/kdevelop-php-docs/Makefile index a2e2ee2869bc..c6b03dbec81b 100644 --- a/devel/kdevelop-php-docs/Makefile +++ b/devel/kdevelop-php-docs/Makefile @@ -14,7 +14,7 @@ LIB_DEPENDS= libkdevplatforminterfaces.so:${PORTSDIR}/devel/kdevplatform USE_KDE4= kdelibs kdeprefix automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build -USES= cmake tar:xz +USES= cmake:outsource compiler:c++11-lib tar:xz OPTIONS_DEFINE= NLS OPTIONS_SUB= yes diff --git a/devel/kdevelop-php/Makefile b/devel/kdevelop-php/Makefile index addf53c056f9..104567bd163d 100644 --- a/devel/kdevelop-php/Makefile +++ b/devel/kdevelop-php/Makefile @@ -15,7 +15,7 @@ BUILD_DEPENDS= ${KDE4_PREFIX}/bin/kdev-pg-qt:${PORTSDIR}/devel/kdevelop-pg-qt USE_KDE4= kdelibs kdeprefix automoc4 USE_QT4= moc_build qmake_build rcc_build uic_build -USES= cmake gmake tar:xz +USES= cmake:outsource compiler:c++11-lib gmake tar:xz MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= PHPDOCS NLS diff --git a/devel/kdevplatform/Makefile b/devel/kdevplatform/Makefile index d0c9d71dee13..8965ca873a32 100644 --- a/devel/kdevplatform/Makefile +++ b/devel/kdevplatform/Makefile @@ -19,7 +19,7 @@ LIB_DEPENDS= libsvn_client-1.so:${PORTSDIR}/devel/subversion \ USE_KDE4= kate_run kdelibs kdeprefix automoc4 USE_QT4= qmake_build moc_build uic_build rcc_build \ corelib designer_build gui webkit -USES= cmake shebangfix tar:xz +USES= cmake:outsource compiler:c++11-lib shebangfix tar:xz USE_LDCONFIG= yes SHEBANG_FILES= util/kdev_format_source util/kdevplatform_shell_environment.sh