From f6af45d08c13b614db60bd666a7d1feb656d2bcc Mon Sep 17 00:00:00 2001 From: Piotr Kubaj <pkubaj@FreeBSD.org> Date: Sun, 28 Feb 2021 10:51:20 +0000 Subject: astro/opencpn: explicitly disable amd64 and arm SIMD to build with clang --- astro/opencpn/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'astro') diff --git a/astro/opencpn/Makefile b/astro/opencpn/Makefile index 0201b5f31c72..3af614a12da3 100644 --- a/astro/opencpn/Makefile +++ b/astro/opencpn/Makefile @@ -2,6 +2,7 @@ PORTNAME= opencpn PORTVERSION= 5.2.4 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= astro geography @@ -19,8 +20,8 @@ LIB_DEPENDS= libportaudio.so:audio/portaudio \ libtinyxml.so:textproc/tinyxml \ liblz4.so:archivers/liblz4 -USES= cmake gettext-tools gl gnome libarchive localbase pkgconfig \ - sqlite xorg +USES= cmake compiler:c++11-lang gettext-tools gl gnome libarchive \ + localbase pkgconfig sqlite xorg USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= ${GH_PROJECT} @@ -47,9 +48,7 @@ DOCS_CMAKE_OFF= -DOCPN_BUNDLE_DOCS:STRING="OFF" .include <bsd.port.options.mk> .if ${ARCH:Mpowerpc64*} -USES+= compiler:gcc-c++11-lib -.else -USES+= compiler:c++11-lang +CMAKE_ARGS+= -DHAVE_MSSE=OFF -DHAVE_MSSE2=OFF -DHAVE_MSSE3=OFF -DHAVE_MAVX2=OFF -DHAVE_MFPU_NEON=OFF .endif .include <bsd.port.pre.mk> -- cgit