configs  Artifact [db39a92d5b]

Artifact db39a92d5b2080a17d6a43d420d24ed278e92e2dcab753577929259d3e14716d:


# Automatically use bmake instead of make when using pkgsrc, if necessary
function make
    if string match -q -r '/pkgsrc$|/pkgsrc/' $PWD
        # pkgsrc does not like MAKEFLAGS including -j
        set -lx MAKEFLAGS

        if type -q bmake
            command bmake $argv
        else
            command make $argv
        end
    else
        command make $argv
    end
end