From owner-svn-ports-branches@freebsd.org Wed Apr 3 04:41:21 2019 Return-Path: Delivered-To: svn-ports-branches@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 2765B155C1F1; Wed, 3 Apr 2019 04:41:21 +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 C2DE5905FD; Wed, 3 Apr 2019 04:41:20 +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 AF06C8CD0; Wed, 3 Apr 2019 04:41:20 +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 x334fKK5057378; Wed, 3 Apr 2019 04:41:20 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x334fKiU057377; Wed, 3 Apr 2019 04:41:20 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201904030441.x334fKiU057377@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 3 Apr 2019 04:41:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r497620 - in branches/2019Q2/graphics/opengv: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in branches/2019Q2/graphics/opengv: . files X-SVN-Commit-Revision: 497620 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C2DE5905FD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.963,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2019 04:41:21 -0000 Author: linimon Date: Wed Apr 3 04:41:20 2019 New Revision: 497620 URL: https://svnweb.freebsd.org/changeset/ports/497620 Log: MFH: r497619 Fix build on non-x86 architectures by conditionally turning off -march=native. Approved by: portmgr (tier-2 blanket) Added: branches/2019Q2/graphics/opengv/files/ - copied from r497619, head/graphics/opengv/files/ Modified: branches/2019Q2/graphics/opengv/Makefile Directory Properties: branches/2019Q2/ (props changed) Modified: branches/2019Q2/graphics/opengv/Makefile ============================================================================== --- branches/2019Q2/graphics/opengv/Makefile Wed Apr 3 04:33:35 2019 (r497619) +++ branches/2019Q2/graphics/opengv/Makefile Wed Apr 3 04:41:20 2019 (r497620) @@ -26,4 +26,11 @@ do-test: ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test -.include +.include + +# disable march-native on non-x86 archs +.if ${ARCH} != amd64 && ${ARCH} != i386 +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-CMakeLists.txt +.endif + +.include