CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected] 2022/11/01 06:36:38

Modified files:
        devel/cargo    : cargo.port.mk 

Log message:
devel/cargo: add MODCARGO_WANTLIB variable

Introduce MODCARGO_WANTLIB variable to be used by port using std library from
Rust.

Rust std uses libc and libpthread for standard operations, and uses
libc++abi/libgcc for unwinding.

Unwinding is done differently depending the MACHINE_ARCH:
- sparc64 is using libgcc (static lib)
- others are using c++abi (shared lib)

MODCARGO_WANTLIB takes care of that details.

ok sthen@

Reply via email to