[Bug 258065] math/cglm: convert to USES=meson
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Aug 2021 17:13:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258065 Bug ID: 258065 Summary: math/cglm: convert to USES=meson Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: jbeich@FreeBSD.org Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Created attachment 227454 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227454&action=edit v1 For some reason pkg-config version isn't set for me. This is supposed to be done by configure_file() from ${PACKAGE_VERSION} but the variable isn't explicitly set by CMakeLists.txt. Instead of wasting time on CMake let's switch to Meson where pkg-config is more native. THere's only 1 consumer, anyway. $ pkg-config --modversion cglm $ cat /usr/local/libdata/pkgconfig/cglm.pc prefix=/usr/local exec_prefix=/usr/local libdir=${prefix}/lib includedir=${prefix}/include Name: cglm Description: OpenGL Mathematics (glm) for C URL: https://github.com/recp/cglm Version: Cflags: -I${includedir} Libs: -L${libdir} -lcglm $ make -C games/taisei [...] Dependency cglm found: NO unknown version, but need: ['>=0.7.8'] Found CMake: /usr/local/bin/cmake (3.21.0) Dependency cglm found: NO unknown version, but need: ['>=0.7.8'] Run-time dependency cglm found: NO (tried pkgconfig and cmake) Not looking for a fallback subproject for the dependency cglm because: Use of fallback dependencies is disabled. meson.build:153:0: ERROR: Dependency 'cglm' is required but not found. -- You are receiving this mail because: You are the assignee for the bug.