Port build process is currently broken:
-- Checking for 64-bit off_t
-- Checking for 64-bit off_t - present
-- Checking for fseeko/ftello
-- Checking for fseeko/ftello - present
-- Large File support - found
CMake Error at src/lib/openjp2/CMakeLists.txt:89 (target_compile_options):
Unknown CMake command "target_compile_options".
-- Configuring incomplete, errors occurred!
*** [do-configure] Error code 1
Stop in /usr/ports/graphics/openjpeg.
I cannot reproduce this problem. According to , openjpeg 2.1.1 builds fine on all build environments. In order to investigate the build failure on your system, please provide more further information. Thanks!
Looks like it's missing a dependency on a later version of CMake. We have 18.104.22.168 here.
Add kde@ (CMake maintainer) to Cc list. I wonder if we need to add version requirement in Mk/Uses/cmake.mk to have newer cmake installed.
I don't think kde@ can do much -- if we go down that route, it means checking if each port for new commands or behavior changes that rely on a certain version and requiring that. What upstream should do is either bump their minimum version requirement or at least do what they did here: https://github.com/uclouvain/openjpeg/commit/c5dd6035c942ab5969b7dc3a873e95e3b542f544
(In reply to Raphael Kubo da Costa from comment #4)
I will add a BUILD_DEPENDS to graphics/openjpeg to ensure a newer cmake is installed.
A commit references this bug:
Date: Sun Dec 6 17:51:50 UTC 2015
New revision: 403133
- Add BUILD_DEPENDS for cmake version requirement
Reported by: Tilghman Lesher <email@example.com>