diff options
author | Michael Moll <mmoll@FreeBSD.org> | 2015-11-28 02:50:41 +0000 |
---|---|---|
committer | Michael Moll <mmoll@FreeBSD.org> | 2015-11-28 02:50:41 +0000 |
commit | 710cf8ce624dd403de74b288b7733c34354fd424 (patch) | |
tree | 37b6b45557e86fd7c069e54ded7e587b78cb27af /graphics | |
parent | c7b74af510dec0ade98fe61e7cb18b2025faccf2 (diff) |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/lensfun/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/graphics/lensfun/Makefile b/graphics/lensfun/Makefile index a01747c84230..e5732dfc98c7 100644 --- a/graphics/lensfun/Makefile +++ b/graphics/lensfun/Makefile @@ -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 |