astro/opencpn: explicitly disable amd64 and arm SIMD to build with clang

This commit is contained in:
Piotr Kubaj 2021-02-28 10:51:20 +00:00
parent 89a772f6fb
commit f6af45d08c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566756

View file

@ -2,6 +2,7 @@
PORTNAME= opencpn PORTNAME= opencpn
PORTVERSION= 5.2.4 PORTVERSION= 5.2.4
PORTREVISION= 1
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
CATEGORIES= astro geography CATEGORIES= astro geography
@ -19,8 +20,8 @@ LIB_DEPENDS= libportaudio.so:audio/portaudio \
libtinyxml.so:textproc/tinyxml \ libtinyxml.so:textproc/tinyxml \
liblz4.so:archivers/liblz4 liblz4.so:archivers/liblz4
USES= cmake gettext-tools gl gnome libarchive localbase pkgconfig \ USES= cmake compiler:c++11-lang gettext-tools gl gnome libarchive \
sqlite xorg localbase pkgconfig sqlite xorg
USE_CXXSTD= c++11 USE_CXXSTD= c++11
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= ${GH_PROJECT} GH_ACCOUNT= ${GH_PROJECT}
@ -47,9 +48,7 @@ DOCS_CMAKE_OFF= -DOCPN_BUNDLE_DOCS:STRING="OFF"
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${ARCH:Mpowerpc64*} .if ${ARCH:Mpowerpc64*}
USES+= compiler:gcc-c++11-lib CMAKE_ARGS+= -DHAVE_MSSE=OFF -DHAVE_MSSE2=OFF -DHAVE_MSSE3=OFF -DHAVE_MAVX2=OFF -DHAVE_MFPU_NEON=OFF
.else
USES+= compiler:c++11-lang
.endif .endif
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>