On Mon, Apr 06, 2020 at 02:06:01PM -0400, Kurt Mosiejczuk wrote: > dyncall is a library used in lwjgl 3.x which I've been working on. > > This looked straightforward. It just produces static libraries, which > seems weird to me. This is my first port using cmake, so if I did > anything wrong, let me know. portcheck and port-lib-depends-check > are both happy though. > > DESCR: > The dyncall library encapsulates architecture-, OS- and compiler-specific > function call semantics in a virtual bind argument parameters from > left to right and then call interface allowing programmers to call > C functions in a completely dynamic manner. In other words, instead > of calling a function directly, the dyncall library provides a > mechanism to push the function parameters manually and to issue the > call afterwards. This means, that a program can determine at runtime > what function to call, and what parameters to pass to it. The library > is written in C and assembly and provides a very simple C interface > to program against. > > ok? comments? > > --Kurt
It looks straight-forward to me. Builds fine on amd64. I did not test it further in a program. Their "Motivation" lists "Static function calls in C," so I'm guessing it producing static libraries isn't too weird. There appears to be an errant SHARED_LIBS comment? CATEGORIES= devel comms #SHARED_LIBS += opensync 1.1 HOMEPAGE= https://www.dyncall.org/ ok tracey -- Tracey Emery