Date: Thu, 26 Aug 2021 17:13:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258065] math/cglm: convert to USES=meson Message-ID: <bug-258065-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258065 Bug ID: 258065 Summary: math/cglm: convert to USES=3Dmeson 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=3D227454&action= =3Dedit 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 sw= itch 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=3D/usr/local exec_prefix=3D/usr/local libdir=3D${prefix}/lib includedir=3D${prefix}/include Name: cglm Description: OpenGL Mathematics (glm) for C URL: https://github.com/recp/cglm Version:=20 Cflags: -I${includedir} Libs: -L${libdir} -lcglm=20 $ make -C games/taisei [...] Dependency cglm found: NO unknown version, but need: ['>=3D0.7.8'] Found CMake: /usr/local/bin/cmake (3.21.0) Dependency cglm found: NO unknown version, but need: ['>=3D0.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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258065-7788>