Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2019 21:01:07 +0200
From:      Piotr Kubaj <pkubaj@anongoth.pl>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r507819 - head/math/g2o
Message-ID:  <20190801190107.GB25273@ThinkPad-X200.g.anongoth.pl>
In-Reply-To: <201908011856.x71IuKkO000568@repo.freebsd.org>
References:  <201908011856.x71IuKkO000568@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--iBm6TSUJjlbJhnyG
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline

Sorry, I meant https://reviews.freebsd.org/D20994 for the DR.

On 19-08-01 18:56:20, Piotr Kubaj wrote:
>Author: pkubaj
>Date: Thu Aug  1 18:56:20 2019
>New Revision: 507819
>URL: https://svnweb.freebsd.org/changeset/ports/507819
>
>Log:
>  math/g2o: fix build on non-x86 architectures
>
>  This port seems to enable all SSE* CPU features even outside of x86 platforms. Disable that to fix build.
>
>  Also add USES=compiler:c++11-lang, the port needs C++11 and add USES=gl.
>
>  PR:		238895
>  Approved by:	yuri (maintainer timeout), linimon (mentor)
>  Differential Revision:	https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238895
>
>Modified:
>  head/math/g2o/Makefile
>
>Modified: head/math/g2o/Makefile
>==============================================================================
>--- head/math/g2o/Makefile	Thu Aug  1 18:51:50 2019	(r507818)
>+++ head/math/g2o/Makefile	Thu Aug  1 18:56:20 2019	(r507819)
>@@ -15,7 +15,7 @@ LICENSE_COMB=	dual
> LIB_DEPENDS=	libcxsparse.so:math/suitesparse \
> 		libQGLViewer-qt5.so:graphics/libQGLViewer
>
>-USES=		cmake eigen:3 qt:5
>+USES=		cmake compiler:c++11-lang gl eigen:3 qt:5
> USE_GITHUB=	yes
> GH_ACCOUNT=	RainerKuemmerle
> USE_GL=		gl glu
>@@ -47,6 +47,12 @@ SSE2_CMAKE_ON=		-DDISABLE_SSE3:BOOL=ON -DDISABLE_SSE4_
> SSE3_CMAKE_ON=		-DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON
> SSE41_CMAKE_ON=		-DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON
> SSE42_CMAKE_ON=		-DDISABLE_SSE4_A:BOOL=ON
>+
>+.include <bsd.port.options.mk>
>+
>+.if ${ARCH} != amd64 && ${ARCH} != i386
>+CMAKE_ARGS+=	-DDISABLE_SSE2:BOOL=ON -DDISABLE_SSE3:BOOL=ON -DDISABLE_SSE4_1:BOOL=ON -DDISABLE_SSE4_2:BOOL=ON -DDISABLE_SSE4_A:BOOL=ON
>+.endif
>
> post-patch:
> 	@${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \
>

--iBm6TSUJjlbJhnyG
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEycyIeNkkgohzsoorelmbhSCDnJ0FAl1DNvNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM5
Q0M4ODc4RDkyNDgyODg3M0IyOEEyQjdBNTk5Qjg1MjA4MzlDOUQACgkQelmbhSCD
nJ3hag//SsKnU2ictsVoqwIAOVBvgrJkZTQVee0QEXtYO4hezNSNUbpiZm441h8E
tyXiWCPbNerN2oU1sQkOUzkN5XIEpME3PY+BVT2tRuUXYMOSxo9jfwAP3XPBgGxB
rVwUU2LaWRXjlaGv4KedNZlJx+sIROPfjBxx0pt7XwsJ9W25WCLvKvVpgWcrLbjy
+1B6PSVyRyMztuFdcZSUI5xM8YIqDcg0edGdoVwl32BRJt+H7jYhDoFmq48wlLoB
GI0K5AzH8gF4cRZxv5tMnnhdvxuoyrLKWDkQQtkeaLegmFGhR2tNqgCLihCcVUij
XGBP/1tXK7r/iQAPbbQEI7DC0CQQSVlhEuMup9PJ5ICMt3UoI63xLpeupj2hzFJr
637IxexHpE/s5hDG0ac/G5gpHj2/kjda7XnrlkMF3IUzKZJssi1q9FFCp2RQCaey
d2gU8wi7K+9NBSgiEzTvp/4DUYpHWMUQ9m0r38EB8+dCKwZw98xmEUMJHTT8tZw1
gu2vkfvfNUXvrMqJL0rjmnj4EOxr+8IenVqDe9T9zYnx4JGs7DyOdjEkyh9q0aez
UcRpfSHDZc33bA04gmKb4Q0Yu5YyNtoqmo3lvV5cRJZQQFagsqOOI6vht8umVDPc
4kAhR6RO0Rfh+CpQxC3bM8e+jqedksDUX3tDtfg1AzHKLwxch/g=
=1Wnl
-----END PGP SIGNATURE-----

--iBm6TSUJjlbJhnyG--



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