Commit 90c656dc authored by Steven Allen's avatar Steven Allen

fix netbsd build

parent 94bbc1ca
// +build !nofuse,!openbsd // +build !nofuse,!openbsd,!netbsd
package ipns package ipns
......
// +build !nofuse,!openbsd // +build !nofuse,!openbsd,!netbsd
// package fuse/ipns implements a fuse filesystem that interfaces // package fuse/ipns implements a fuse filesystem that interfaces
// with ipns, the naming system for ipfs. // with ipns, the naming system for ipfs.
......
// +build !nofuse,!openbsd // +build !nofuse,!openbsd,!netbsd
package ipns package ipns
......
// +build !nofuse,!windows,!openbsd // +build !nofuse,!windows,!openbsd,!netbsd
package mount package mount
......
// +build !nofuse // +build !nofuse,openbsd !nofuse,netbsd
package node package node
...@@ -9,5 +9,5 @@ import ( ...@@ -9,5 +9,5 @@ import (
) )
func Mount(node *core.IpfsNode, fsdir, nsdir string) error { func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
return errors.New("FUSE not supported on OpenBSD. See #5334 (https://git.io/fjMuC).") return errors.New("FUSE not supported on OpenBSD or NetBSD. See #5334 (https://git.io/fjMuC).")
} }
// +build !openbsd,!nofuse // +build !openbsd,!nofuse,!netbsd
package node package node
......
// +build !windows,!openbsd,!nofuse // +build !windows,!openbsd,!netbsd,!nofuse
package node package node
......
// +build !nofuse,!openbsd // +build !nofuse,!openbsd,!netbsd
package readonly package readonly
......
// +build linux darwin freebsd netbsd // +build linux darwin freebsd
// +build !nofuse // +build !nofuse
package readonly package readonly
......
// +build linux darwin freebsd netbsd // +build linux darwin freebsd
// +build !nofuse // +build !nofuse
package readonly package readonly
......
...@@ -26,6 +26,9 @@ SUPPORTED_PLATFORMS += freebsd-amd64 ...@@ -26,6 +26,9 @@ SUPPORTED_PLATFORMS += freebsd-amd64
SUPPORTED_PLATFORMS += openbsd-386 SUPPORTED_PLATFORMS += openbsd-386
SUPPORTED_PLATFORMS += openbsd-amd64 SUPPORTED_PLATFORMS += openbsd-amd64
SUPPORTED_PLATFORMS += netbsd-386
SUPPORTED_PLATFORMS += netbsd-amd64
space:= space:=
space+= space+=
comma:=, comma:=,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment