diff --git a/x11-toolkits/kf5-kirigami2/Makefile b/x11-toolkits/kf5-kirigami2/Makefile index bc0716d2638a6..889d062a753af 100644 --- a/x11-toolkits/kf5-kirigami2/Makefile +++ b/x11-toolkits/kf5-kirigami2/Makefile @@ -5,7 +5,12 @@ CATEGORIES= x11-toolkits kde kde-frameworks MAINTAINER= kde@FreeBSD.org COMMENT= QtQuick based components set -USES= cmake compiler:c++11-lib gettext kde:5 qt:5 tar:xz +USES= cmake gettext kde:5 qt:5 tar:xz +.if !exists(/usr/include/omp.h) +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++11-lib +.endif USE_KDE= kdeclarative \ ecm:build USE_QT= core concurrent dbus declarative graphicaleffects gui \