configs  make.fish at [c22a3e608c]

File config/fish/functions/make.fish artifact 39b2ede27d part of check-in c22a3e608c


# Automatically use bmake instead of make when using pkgsrc
function make
	if which bmake >/dev/null ^&1 && \
	    string match -q -r '/pkgsrc$|/pkgsrc/' $PWD
		# pkgsrc does not like MAKEFLAGS including -j
		env MAKEFLAGS= bmake $argv
	else
		command make $argv
	end
end