Created attachment 194506 [details] raylib.shar Hello i am sending patch for update raylib 1.9.7 to 2.0.0 Thank you M.
1. You should create a pull request for the src/CMakeLists.txt patch if this is a general bug. 2. Merged pull requests (like https://github.com/raysan5/raylib/pull/552) need to use this syntax instead of patches: > PATCH_SITES= https://github.com/${PORTNAME}/${GH_PROJECT}/commit/ This way both patches under files/ will not be needed. Also please submit port updates as patches. It is easier this way. :-) Thanks!
Hello Yuri, thank you for your points i tried add PATCH_SITES in https://github.com/Martinfx/FreeBSD-Ports/blob/max-raylib-2.0/raylib/Makefile#L8 but i dont sure about changes.
ping
Martin, FYI: when some project can't find some libraries (like -lX11), the easiest way to fix this is to add USES=localbase:ldflags to the port. Yuri
Committed with changes. Thanks!
A commit references this bug: Author: yuri Date: Sat Jun 23 14:46:21 UTC 2018 New revision: 473134 URL: https://svnweb.freebsd.org/changeset/ports/473134 Log: devel/raylib: Update 1.9.7-dev -> 2.0.0-dev Port changes: * Add USES=localbase:ldflags * Backport the pull request for glfw selection in cmake scripts PR: 229234 Submitted by: Martin Filla <martinfilla@post.cz> (maintainer) Changes: head/devel/raylib/Makefile head/devel/raylib/distinfo