Hi, Here is a simple patch to disable forced concurrent compilation for libsass. I've noticed that my PowerBook was using more swap that it should while building this port; 12 c++ processes were running.
It comes straight from upstream [0], and has been included in more recent releases of libsass. Given how close we're to 6.7 and how important libsass is to the GNOME ecosystem, i bailed out from updating it. Comments/feedback are welcome, Charlène. [0] https://github.com/sass/libsass/pull/2977 Index: patches/patch-Makefile =================================================================== RCS file: patches/patch-Makefile diff -N patches/patch-Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-Makefile 16 Apr 2020 17:39:31 -0000 @@ -0,0 +1,16 @@ +$OpenBSD$ + +Drop concurrent compilation, avoid swapping on low memory archs +From: https://github.com/sass/libsass/pull/2977 + +Index: Makefile +--- Makefile.orig ++++ Makefile +@@ -19,7 +19,6 @@ ifndef COVERAGE + CFLAGS += -O2 + CXXFLAGS += -O2 + LDFLAGS += -O2 +- MAKEFLAGS += "-j 0" + else + CFLAGS += -O1 -fno-omit-frame-pointer + CXXFLAGS += -O1 -fno-omit-frame-pointer