svn commit: r402504 - head/graphics/lensfun
Michael Moll
mmoll at FreeBSD.org
Sat Nov 28 02:50:42 UTC 2015
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 at 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
More information about the svn-ports-all
mailing list