CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected] 2024/01/01 01:35:07

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

Log message:
rust ports cleanup: (ab)use a typo in MODCARGO_WANTLIB

MODCARGO_WANTLIB should be defined differently on sparc64: the unwind mecanism
used comes from (static) libgcc.a, whereas it comes from (dynamic) c++abi
library on others architectures.

but the current code has a typo in the conditionnal: MARCHINE_ARCH is wrong and
should have been MACHINE_ARCH initially. and we can't change it without bumping
all the ports using MODCARGO_WANTLIB.

this typo makes MODCARGO_WANTLIB to have the value "c pthread c++abi" in all
cases. it isn't a big trouble for sparc64 (outside an unncessary dependency on
c++abi).

so for now, simplify the code and use MODCARGO_WANTLIB="c pthread c++abi"
unconditionnally. it will be changed to the right value soon.

no changes (due to the initial typo).

Reply via email to