[MacPorts] #40631: blockout2 @2.4_0
MacPorts
noreply at macports.org
Mon Sep 30 22:14:08 PDT 2013
#40631: blockout2 @2.4_0
-------------------------+--------------------------
Reporter: jeremy@… | Owner: ryandesign@…
Type: submission | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: blockout2 |
-------------------------+--------------------------
Comment (by jeremy@…):
Hi Ryan,
I was able to reproduce the problem you found: it was because of the mesa
OpenGL as you suspected. Turns out the correct way to build against OpenGL
is to use the "-Wl,-framework,OpenGL" flag. (It was working on my machine
because I didn't have any conflicting OpenGL libs to pick up.)
Once that change is made, the Portfile doesn't need the mesa dependence.
So I'll attach the new Portfile and patch-BlockOut-Makefile.diff to this
ticket.
RE: your other comments:
Sorry about the tabs in the Portfile - I was using vim to edit it so I
assumed the modeline at the top had instructed vim the expand tabs.
I don't know what to do about the universal variant (this is my first
MacPorts port) - I was just copying the example Portfile I think.
Leaving the -Dlinux was an oversight and should be removed (assuming it
doesn't break things).
As you say, the developer hasn't updated the app in many years so I don't
expect active support. However, I will submit the fixes to the developer -
perhaps having his game ported to OSX will revive some interest.
Thanks for all the other fixes to the Portfile - as I said this is my
first port.
Cheers,
Jeremy
--
Ticket URL: <https://trac.macports.org/ticket/40631#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list