configs  Diff

Differences From Artifact [fabfef7469]:

To Artifact [39b2ede27d]:


1
2

3
4
5
6
7
8
9
# Automatically use bmake instead of make when using pkgsrc
function make

	if which bmake >/dev/null && string match -q -r '/pkgsrc$|/pkgsrc/' $PWD
		# pkgsrc does not like MAKEFLAGS including -j
		env MAKEFLAGS= bmake $argv
	else
		command make $argv
	end
end


>
|






1
2
3
4
5
6
7
8
9
10
# 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