Date: Sat, 28 Nov 2015 02:50:41 +0000 (UTC) From: Michael Moll <mmoll@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r402504 - head/graphics/lensfun Message-ID: <201511280250.tAS2ofAY069249@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmoll Date: Sat Nov 28 02:50:41 2015 New Revision: 402504 URL: https://svnweb.freebsd.org/changeset/ports/402504 Log: graphics/lensfun: fix build on arm PR: 200028 Submitted by: Mikael Urankar <mikael.urankar@gmail.com> Approved by: danfe (maintainer) Modified: head/graphics/lensfun/Makefile Modified: head/graphics/lensfun/Makefile ============================================================================== --- head/graphics/lensfun/Makefile Sat Nov 28 02:13:59 2015 (r402503) +++ head/graphics/lensfun/Makefile Sat Nov 28 02:50:41 2015 (r402504) @@ -18,6 +18,14 @@ USE_GNOME= glib20 USE_LDCONFIG= yes CMAKE_ARGS= -DBUILD_AUXFUN:BOOL=ON -DINSTALL_HELPER_SCRIPTS:BOOL=OFF +.if ! ${MACHINE_CPU:Msse} == "sse" +CMAKE_ARGS+= -DBUILD_FOR_SSE:BOOL=OFF +.endif + +.if ! ${MACHINE_CPU:Msse2} == "sse2" +CMAKE_ARGS+= -DBUILD_FOR_SSE2:BOOL=OFF +.endif + post-patch: @${REINPLACE_CMD} -e '/pkgconfig/s,$${LIBDIR},libdata,' \ ${WRKSRC}/libs/lensfun/CMakeLists.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511280250.tAS2ofAY069249>