aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-04-27 13:22:30 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-04-27 13:22:30 +0000
commitb02f812b43870dc615b6fc713121a2e745ed4293 (patch)
tree0ee5976df0ac8e9d854bf075a454c3c804caac9d
parentec7a254e887296ff01b395b3c07d31ffb311d03d (diff)
downloadports-b02f812b43870dc615b6fc713121a2e745ed4293.tar.gz
ports-b02f812b43870dc615b6fc713121a2e745ed4293.zip
multimedia/libopenshot: check for omp.h on all architectures
-rw-r--r--multimedia/libopenshot/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/multimedia/libopenshot/Makefile b/multimedia/libopenshot/Makefile
index 9111fabb7155..fb15653fb7e1 100644
--- a/multimedia/libopenshot/Makefile
+++ b/multimedia/libopenshot/Makefile
@@ -50,9 +50,7 @@ OPENCV_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenCV\
CMAKE_DISABLE_FIND_PACKAGE_Protobuf
OPENCV_CMAKE_ON= -DOpenCV_DIR:STRING=${LOCALBASE:Q}/cmake/opencv4
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++11-lang