Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2019 19:47:17 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r498182 - branches/2019Q2/lang/io
Message-ID:  <201904061947.x36JlHYI073290@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sat Apr  6 19:47:16 2019
New Revision: 498182
URL: https://svnweb.freebsd.org/changeset/ports/498182

Log:
  MFH: r498176
  
  Disable sse on non-x86 archs to fix build.
  
  While here, pet portlint.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  branches/2019Q2/lang/io/Makefile
Directory Properties:
  branches/2019Q2/   (props changed)

Modified: branches/2019Q2/lang/io/Makefile
==============================================================================
--- branches/2019Q2/lang/io/Makefile	Sat Apr  6 19:44:44 2019	(r498181)
+++ branches/2019Q2/lang/io/Makefile	Sat Apr  6 19:47:16 2019	(r498182)
@@ -11,12 +11,11 @@ COMMENT=	Small prototype-based programming language
 
 LICENSE=	BSD3CLAUSE
 
-CONFLICTS=	io-devel-[0-9]*
-
 BROKEN_armv6=		fails to compile: ucontext.h: expected parameter declarator
 BROKEN_armv7=		fails to compile: Coro.c:392:2: no member named 'arm_r0' in 'mcontext_t'
-BROKEN_powerpc64=	fails to build: unrecognized command line option -msse2
 
+CONFLICTS=	io-devel-[0-9]*
+
 USES=		cmake:noninja compiler:c11 ssl
 
 USE_GITHUB=	yes
@@ -34,6 +33,13 @@ OPTIONS_SUB=	yes
 
 .include "${.CURDIR}/Makefile.addons"
 
+.include <bsd.port.pre.mk>
+
+# disable sse on non-x86 archs
+.if ${ARCH} != amd64 && ${ARCH} != i386
+EXTRA_PATCHES+=		${PATCHDIR}/extra-patch-CMakeLists.txt
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e 's/^[ ]*add_subdirectory/#&/' \
 		${WRKSRC}/addons/CMakeLists.txt
@@ -61,4 +67,4 @@ do-test:
 	cd ${BUILD_WRKSRC} && \
 	    ./_build/binaries/io ${WRKSRC}/libs/iovm/tests/correctness/run.io
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904061947.x36JlHYI073290>