configs  Diff

Differences From Artifact [185d351193]:

To Artifact [eff67be8e7]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 which bmake >/dev/null ^&1 && \
			command bmake $argv
		else
			command make $argv
		end
	else
		command make $argv
	end
end






|








1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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