[Bug 258065] math/cglm: convert to USES=meson

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 26 Aug 2021 17:13:22 +0000

            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_at_freebsd.org
          Reporter: jbeich_at_FreeBSD.org
             Flags: maintainer-feedback?(yuri_at_freebsd.org)
          Assignee: yuri_at_freebsd.org

Created attachment 227454
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227454&action=edit

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

Name: cglm
Description: OpenGL Mathematics (glm) for C
URL: https://github.com/recp/cglm
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.
Received on Thu Aug 26 2021 - 17:13:22 UTC

Original text of this message