diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/colmap/Makefile | 2 | ||||
-rw-r--r-- | graphics/waifu2x-converter-cpp/Makefile | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/graphics/colmap/Makefile b/graphics/colmap/Makefile index 406dee01ad8a..89443b2a5a27 100644 --- a/graphics/colmap/Makefile +++ b/graphics/colmap/Makefile @@ -30,7 +30,7 @@ USE_GL= gl glew USE_QT5= qmake_build buildtools_build core gui opengl_build widgets EXCLUDE= SQLite EXTRACT_AFTER_ARGS= ${EXCLUDE:S,^,--exclude src/ext/,} -CMAKE_ARGS= -DBOOST_STATIC=off -DCUDA_ENABLED=off +CMAKE_OFF= BOOST_STATIC CUDA_ENABLED CFLAGS+= -DVL_OS_LINUX=1 CXXFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \ -D_DECLARE_C99_LDBL_MATH # XXX ports/193528 diff --git a/graphics/waifu2x-converter-cpp/Makefile b/graphics/waifu2x-converter-cpp/Makefile index 1b80d75f2a3c..0c4080673fa8 100644 --- a/graphics/waifu2x-converter-cpp/Makefile +++ b/graphics/waifu2x-converter-cpp/Makefile @@ -23,9 +23,9 @@ GH_ACCOUNT= tanakamura USES= cmake compiler:c++11-lib dos2unix DOS2UNIX_GLOB= *.cpp *.hpp -CMAKE_ARGS= -DOPENCV_PREFIX="${LOCALBASE}" \ - -DOpenCL_LIBRARY="${LOCALBASE}/lib/libOpenCL.so" \ - -DINSTALL_MODELS=on +CMAKE_ARGS= -DOPENCV_PREFIX:PATH="${LOCALBASE}" \ + -DOpenCL_LIBRARY:FILEPATH="${LOCALBASE}/lib/libOpenCL.so" +CMAKE_ON= INSTALL_MODELS CFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \ -D_DECLARE_C99_LDBL_MATH # XXX ports/193528 LDFLAGS+= -Wl,--as-needed # avoid overlinking (opencv deps) @@ -40,8 +40,8 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS SIMD OPTIONS_DEFAULT=SIMD -DOCS_CMAKE_ON= -DINSTALL_DOCS=on -SIMD_CMAKE_OFF= -DARMOPT=off -DX86OPT=off +DOCS_CMAKE_BOOL=INSTALL_DOCS +SIMD_CMAKE_OFF= -DARMOPT:BOOL=false -DX86OPT:BOOL=false post-patch: @${REINPLACE_CMD} -e '/Darwin/,/FLAGS_RELEASE/d' \ |