$NetBSD: patch-Makefile,v 1.1 2019/06/17 13:53:22 micha Exp $

Add NetBSD to OS list.

--- Makefile.orig	2017-03-03 20:22:35.000000000 +0000
+++ Makefile
@@ -418,7 +418,7 @@ endif
 export SMIF
 
 
-OS_LIST:=LINUX FREEBSD WIN32 WIN98 WIN7 OS2 DOS MAC
+OS_LIST:=LINUX FREEBSD NETBSD WIN32 WIN98 WIN7 OS2 DOS MAC
 
 ifeq ($(OS), LINUX)
   LINUX=1
@@ -429,6 +429,12 @@ ifeq ($(OS), FREEBSD)
   $(info  Please submit bug reports, and bug fixes. )
   FREEBSD=1
 else
+ifeq ($(OS), NETBSD)
+  # Uses statvfs(5).
+  $(info  NetBSD support is dependent upon user reports.)
+  $(info  Please submit bug reports, and bug fixes. )
+  NETBSD=1
+else
 ifeq ($(OS), WIN32)
   $(info  Generic Windows compile.  May or may-not work on modern Windows.)
   $(info  Please submit bug reports, and bug fixes. )
@@ -482,6 +488,7 @@ endif
 endif
 endif
 endif
+endif
 export OS
 
 
