diff --git a/src/cmd/cov/Makefile b/src/cmd/cov/Makefile --- a/src/cmd/cov/Makefile +++ b/src/cmd/cov/Makefile @@ -25,6 +25,7 @@ install: install-$(shell uname | tr A-Z a-z) install-linux: install-default install-freebsd: install-default +install-netbsd: install-default # on Darwin, have to install and setgid; see $GOROOT/src/sudo.bash install-darwin: $(TARG) diff --git a/src/cmd/prof/Makefile b/src/cmd/prof/Makefile --- a/src/cmd/prof/Makefile +++ b/src/cmd/prof/Makefile @@ -25,6 +25,7 @@ install: install-$(shell uname | tr A-Z a-z) install-linux: install-default install-freebsd: install-default +install-netbsd: install-default # on Darwin, have to install and setgid; see $GOROOT/src/sudo.bash install-darwin: $(TARG) diff --git a/src/make.bash b/src/make.bash --- a/src/make.bash +++ b/src/make.bash @@ -39,10 +39,10 @@ esac case "$GOOS" in -darwin | freebsd | linux | mingw | nacl) +darwin | freebsd | linux | mingw | nacl | netbsd) ;; *) - echo '$GOOS is set to <'$GOOS'>, must be darwin, freebsd, linux, mingw, or nacl' 1>&2 + echo '$GOOS is set to <'$GOOS'>, must be darwin, freebsd, linux, mingw, nacl, or netbsd' 1>&2 exit 1 esac