#42342: LibreCAD Portfile that run's under OSX 10.7 --------------------------+--------------------------------- Reporter: librecad@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch maintainer Port: LibreCAD | --------------------------+--------------------------------- Comment (by librecad@…): Attached a new diff file that tries to solve the suggested modifications: The Portfile has been tested on OSX 10.7 and 10.9. Here are answers to your questions: * Why is stdlib being forced to libc++? Old habit I guess, In the past we had issues compiling LibreCAD on older version's of OSX but we required c++11, these lines seemed to fix it (that was already a couple of years ago...), please note, I am not a guru on the subject of compilers and what's new in the world of c++ any advice is more then welcome. I removed it and verified LibreCAD compiles and runs fine on 10.7 There is no way for me to test on OSX 10.6 because Apple doesn't allow me to install 10.6 in a VM. Testing on 10.8 will be done as soon as I have a couple of hours left over this week but not worried at this point. * Identation is fixed to 4 characters * I removed exec find to fs.traverse, but had to add a ugly test for Makefile in a separate if Statement because I couldn't figure out to make a one liner, sorry I never touched Tcl in my life so I do what works for me... * The duplicate code is removed, that was just stupid of me -- Ticket URL: <https://trac.macports.org/ticket/42342#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X