On macOS there is an issue with length of `ar` arguments: I get an error `ar: Argument list too long`. I made a fix, but it is quite ugly :) I had to split the target here: https://github.com/macports/macports-ports/blob/1c8cb98aa54e71148f4a5c416a6c82adb20f5a00/math/AlphaSparse/files/0010-Makefile.tail-split-lib-target-to-fix-ar-error.patch And also re-shuffle files from plain/kernel: https://github.com/macports/macports-ports/blob/1c8cb98aa54e71148f4a5c416a6c82adb20f5a00/math/AlphaSparse/Portfile#L42 Can it be fixed in a neater way?