svn commit: r566756 - head/astro/opencpn

Piotr Kubaj pkubaj at FreeBSD.org
Sun Feb 28 10:51:21 UTC 2021


Author: pkubaj
Date: Sun Feb 28 10:51:20 2021
New Revision: 566756
URL: https://svnweb.freebsd.org/changeset/ports/566756

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

Modified:
  head/astro/opencpn/Makefile

Modified: head/astro/opencpn/Makefile
==============================================================================
--- head/astro/opencpn/Makefile	Sun Feb 28 10:50:34 2021	(r566755)
+++ head/astro/opencpn/Makefile	Sun Feb 28 10:51:20 2021	(r566756)
@@ -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>


More information about the svn-ports-all mailing list