[Bug 206864] multimedia/x265 - update to 1.9 needs exp-run

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 2 22:48:24 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206864

--- Comment #7 from Jan Beich <jbeich at FreeBSD.org> ---
Comment on attachment 166461
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166461
Update to 1.9, add test-target

>+test regression-test check: build
>+	${WRKSRC}/test/TestBench

Please, use the new testing framework. See ports r398125 until someone
documents it in Porter's Handbook.

  do-test:
        ${WRKSRC}/test/TestBench

>+@@ -582,8 +582,3 @@
>+ endif(ENABLE_CLI)
>+ 
>+-if(ENABLE_ASSEMBLY AND NOT XCODE)
>+-    option(ENABLE_TESTS "Enable Unit Tests" OFF)
>+-    if(ENABLE_TESTS)
>+-        add_subdirectory(test)
>+-    endif()
>+-endif()
>++add_subdirectory(test)

Do you really need to patch out a conditional? Try

  CMAKE_ARGS=   -DENABLE_TESTS=on

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list