From owner-svn-ports-all@freebsd.org Sat Apr 6 19:47:18 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A68B156AA52; Sat, 6 Apr 2019 19:47:18 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B522D8F4ED; Sat, 6 Apr 2019 19:47:17 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 885F4146C; Sat, 6 Apr 2019 19:47:17 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x36JlHtk073291; Sat, 6 Apr 2019 19:47:17 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x36JlHYI073290; Sat, 6 Apr 2019 19:47:17 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201904061947.x36JlHYI073290@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sat, 6 Apr 2019 19:47:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r498182 - branches/2019Q2/lang/io X-SVN-Group: ports-branches X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: branches/2019Q2/lang/io X-SVN-Commit-Revision: 498182 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: B522D8F4ED X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Apr 2019 19:47:18 -0000 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 + +# 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 +.include