#50898 closed defect (fixed)

Box2d @2.3.1 Moved to github

Reported by: port@… Owned by: stromnov (Andrew 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@… 21 months ago.
Diff of the portfiles

Download all attachments as: .zip

Change History (5)

Changed 21 months ago by port@…

Diff of the portfiles

comment:1 Changed 21 months ago by kurthindenburg (Kurt Hindenburg)

  • Keywords haspatch added
  • Port box2d added
  • Version 2.3.4 deleted

comment:2 Changed 21 months ago by anddam (Andrea D'Amore)

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

Assign the ticket to maintainer.

comment:3 Changed 21 months 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 21 months ago by neverpanic (Clemens Lang)

  • Resolution set to fixed
  • Status changed from new to closed

The maintainer committed a change solving this in r146731.

Note: See TracTickets for help on using tickets.