aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/waifu2x-converter-cpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/waifu2x-converter-cpp/Makefile')
-rw-r--r--graphics/waifu2x-converter-cpp/Makefile10
1 files changed, 5 insertions, 5 deletions
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' \