Opened 8 years ago

Closed 8 years ago

#50898 closed defect (fixed)

Box2d @2.3.1 Moved to github

Reported by: port@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: box2d

Description

Box2d moved from google code to github, attached is a patch that updates the source and updates the Cmake to use the cmake.out_of_source building.

Attachments (1)

Portfile-box2d.diff (1.8 KB) - added by port@… 8 years ago.
Diff of the portfiles

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by port@…

Attachment: Portfile-box2d.diff added

Diff of the portfiles

comment:1 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Keywords: haspatch added
Port: box2d added
Version: 2.3.4

comment:2 Changed 8 years ago by anddam (Andrea D'Amore)

Cc: stromnov@… removed
Owner: changed from macports-tickets@… to stromnov@…

Assign the ticket to maintainer.

comment:3 Changed 8 years ago by neverpanic (Clemens Lang)

Instead of using

github.setup erincatto Box2D v2.3.1

and explicitly setting the version property, use

github.setup erincatto Box2D 2.3.1 v

which will automatically set the version number correctly.

Additionally, worksrcdir is not supposed to be an absolute path. worksrcpath will be composed of ${workpath}/${worksrcdir}, so you should use

worksrcdir Box2D-${version}/Box2D/

You should not have to set cmake.build_dir. The default should be fine.

comment:4 Changed 8 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

The maintainer committed a change solving this in r146731.

Note: See TracTickets for help on using tickets.