Created attachment 183161 [details] Diff to update math/glm Many fixes: https://github.com/g-truc/glm/releases Most notable: Added Clang 4.0 detection Fixed GCC 4.8 with C++11 compilation option I removed the old patch since it doesn't apply to the existing code and we don't support FreeBSD 8.x or 9.x anymore. RDo not disable the test option if under MAINTAINER_MODE.
Is there a reason you install pkgconfig/glm.pc to lib/ instead of libdata/ ?
Ups, too early
(In reply to Kurt Jaeger from comment #1) Not really, I didn't touch that from the previous port. (I'll look at it).
No need, I already have a fix and will add it.
A commit references this bug: Author: pi Date: Sun Jun 4 15:57:54 UTC 2017 New revision: 442566 URL: https://svnweb.freebsd.org/changeset/ports/442566 Log: math/glm: update 0.9.7.3 -> 0.9.8.4 - Many changes - move lib/pkgconfig/glm.pc to libdata/pkgconfig/ PR: 219737 Submitted by: pfg Relnotes: https://github.com/g-truc/glm/releases Changes: head/math/glm/Makefile head/math/glm/distinfo head/math/glm/files/patch-CMakeLists.txt head/math/glm/files/patch-glm_detail_setup.hpp head/math/glm/pkg-plist
Committed, thanks!
FWIW, ... (In reply to Kurt Jaeger from comment #4) The path should have been set unconditionally so sometihng like this would be better: CMAKE_ARGS= -DCMAKE_INSTALL_PKG_CONFIG_DIR:PATH="${PREFIX}/libdata/pkgconfig" .ifndef MAINTAINER_MODE CMAKE_ARGS+= -DGLM_TEST_ENABLE:BOOL=OFF .endif (excuse the formatting)
(In reply to Pedro F. Giffuni from comment #7) I suspect the change in subversion broke the pkg-plist in MAINTAINER_MODE.
A commit references this bug: Author: pi Date: Sun Jun 4 17:21:01 UTC 2017 New revision: 442571 URL: https://svnweb.freebsd.org/changeset/ports/442571 Log: math/glm: remove flag from MAINTAINER_MODE case PR: 219737 Submitted by: pfg Changes: head/math/glm/Makefile
Created attachment 183214 [details] libdata path fix I meant this.
Created attachment 183215 [details] libdata path fix (oops)
Comment on attachment 183215 [details] libdata path fix Nevermind .. the patch in files/ does the same.