@cryptotaxi247 / kubo / commits / 90c656dc5

fix netbsd build

Steven Allen committed Jul 22, 2019 at 16:24 UTC 90c656dc5983d8710b158e394c017acaf94ecd57
11 files changed +14 -11
fuse/ipns/ipns_test.go
+1 -1
@@ -1,4 +1,4 @@
1 -// +build !nofuse,!openbsd
1 +// +build !nofuse,!openbsd,!netbsd
2
3 package ipns
4
fuse/ipns/ipns_unix.go
+1 -1
@@ -1,4 +1,4 @@
1 -// +build !nofuse,!openbsd
1 +// +build !nofuse,!openbsd,!netbsd
2
3 // package fuse/ipns implements a fuse filesystem that interfaces
4 // with ipns, the naming system for ipfs.
fuse/ipns/link_unix.go
+1 -1
@@ -1,4 +1,4 @@
1 -// +build !nofuse,!openbsd
1 +// +build !nofuse,!openbsd,!netbsd
2
3 package ipns
4
fuse/mount/fuse.go
+1 -1
@@ -1,4 +1,4 @@
1 -// +build !nofuse,!windows,!openbsd
1 +// +build !nofuse,!windows,!openbsd,!netbsd
2
3 package mount
4
fuse/node/mount_notsupp.go renamed
+2 -2
@@ -1,4 +1,4 @@
1 -// +build !nofuse
1 +// +build !nofuse,openbsd !nofuse,netbsd
2
3 package node
4
@@ -9,5 +9,5 @@ import (
9 )
10
11 func Mount(node *core.IpfsNode, fsdir, nsdir string) error {
12 - return errors.New("FUSE not supported on OpenBSD. See #5334 (https://git.io/fjMuC).")
12 + return errors.New("FUSE not supported on OpenBSD or NetBSD. See #5334 (https://git.io/fjMuC).")
13 }
fuse/node/mount_test.go
+1 -1
@@ -1,4 +1,4 @@
1 -// +build !openbsd,!nofuse
1 +// +build !openbsd,!nofuse,!netbsd
2
3 package node
4
fuse/node/mount_unix.go
+1 -1
@@ -1,4 +1,4 @@
1 -// +build !windows,!openbsd,!nofuse
1 +// +build !windows,!openbsd,!netbsd,!nofuse
2
3 package node
4
fuse/readonly/ipfs_test.go
+1 -1
@@ -1,4 +1,4 @@
1 -// +build !nofuse,!openbsd
1 +// +build !nofuse,!openbsd,!netbsd
2
3 package readonly
4
fuse/readonly/mount_unix.go
+1 -1
@@ -1,4 +1,4 @@
1 -// +build linux darwin freebsd netbsd
1 +// +build linux darwin freebsd
2 // +build !nofuse
3
4 package readonly
fuse/readonly/readonly_unix.go
+1 -1
@@ -1,4 +1,4 @@
1 -// +build linux darwin freebsd netbsd
1 +// +build linux darwin freebsd
2 // +build !nofuse
3
4 package readonly
mk/util.mk
+3
@@ -26,6 +26,9 @@ SUPPORTED_PLATFORMS += freebsd-amd64
26 SUPPORTED_PLATFORMS += openbsd-386
27 SUPPORTED_PLATFORMS += openbsd-amd64
28
29 +SUPPORTED_PLATFORMS += netbsd-386
30 +SUPPORTED_PLATFORMS += netbsd-amd64
31 +
32 space:=
33 space+=
34 comma:=,