diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-02-28 18:51:20 +0800 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-02-28 18:51:20 +0800 |
commit | f6af45d08c13b614db60bd666a7d1feb656d2bcc (patch) | |
tree | a243b6b1c2d90758a99f1382279dcaab46cae221 /astro | |
parent | 89a772f6fb6df516b4e066f80e9e9edeb3cde759 (diff) | |
download | freebsd-ports-gnome-f6af45d08c13b614db60bd666a7d1feb656d2bcc.tar.gz freebsd-ports-gnome-f6af45d08c13b614db60bd666a7d1feb656d2bcc.tar.zst freebsd-ports-gnome-f6af45d08c13b614db60bd666a7d1feb656d2bcc.zip |
astro/opencpn: explicitly disable amd64 and arm SIMD to build with clang
Diffstat (limited to 'astro')
-rw-r--r-- | astro/opencpn/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
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> |