Bug 229234 - [MAINTAINER] [PATCH] devel/raylib update raylib 1.9.7 to 2.0.0
Summary: [MAINTAINER] [PATCH] devel/raylib update raylib 1.9.7 to 2.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-22 15:52 UTC by Martin Filla
Modified: 2018-06-23 14:47 UTC (History)
2 users (show)

See Also:


Attachments
raylib.shar (3.33 KB, text/plain)
2018-06-22 15:52 UTC, Martin Filla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2018-06-22 15:52:13 UTC
Created attachment 194506 [details]
raylib.shar

Hello i am sending patch for update raylib 1.9.7 to 2.0.0
Thank you M.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2018-06-22 17:35:29 UTC
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!
Comment 2 Martin Filla 2018-06-22 20:15:35 UTC
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.
Comment 3 Martin Filla 2018-06-23 11:57:55 UTC
ping
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2018-06-23 14:23:46 UTC
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
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2018-06-23 14:46:26 UTC
Committed with changes.
Thanks!
Comment 6 commit-hook freebsd_committer freebsd_triage 2018-06-23 14:47:05 UTC
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