svn commit: r554993 - head/devel/simgear

Piotr Kubaj pkubaj at FreeBSD.org
Thu Nov 12 22:46:52 UTC 2020


Author: pkubaj
Date: Thu Nov 12 22:46:52 2020
New Revision: 554993
URL: https://svnweb.freebsd.org/changeset/ports/554993

Log:
  devel/simgear: fix build on non-x86

Modified:
  head/devel/simgear/Makefile

Modified: head/devel/simgear/Makefile
==============================================================================
--- head/devel/simgear/Makefile	Thu Nov 12 22:44:37 2020	(r554992)
+++ head/devel/simgear/Makefile	Thu Nov 12 22:46:52 2020	(r554993)
@@ -32,4 +32,10 @@ LDFLAGS+=	${LDFLAGS_${CHOSEN_COMPILER_TYPE}}
 CMAKE_ARGS+=	-DSYSTEM_EXPAT:BOOL=ON \
 		-DENABLE_TESTS:BOOL=OFF
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CMAKE_ARGS+=	-DENABLE_SIMD:BOOL=OFF
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list