[MacPorts] #40007: Build failure with variant +carbon