On 2020/06/06 21:25, Charlie Burnett wrote: > Howdy, > > For your porting pleasure see attached for a port of libarea, a small > library for computer assisted machining, also required for FreeCAD. > > Best regards >
Here it is with a cleaned up Makefile following the standard ordering from /usr/ports/infrastructure/templates/Makefile.template, fixing some of the problems in upstream's CMakeFile, and not mixing python 2 and 3. It is not super-clean because I can't figure out how to cleanly get the python module built directly as area.so and the shared library as libarea.so.0.0 so it's building the python module under a different name and moving it into place in the port Makefile. This would probably need a CMake wizard to fix properly.
