From fef6f000da29f6448d1cf37e02b57686d0cdb83d Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Mon, 8 Dec 2003 22:24:16 +0000
Subject: [PATCH] Fixes for NetBSD

---
 src/sbbs3/install/GNUmakefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/sbbs3/install/GNUmakefile b/src/sbbs3/install/GNUmakefile
index bd95d37423..39f48b70c0 100644
--- a/src/sbbs3/install/GNUmakefile
+++ b/src/sbbs3/install/GNUmakefile
@@ -33,6 +33,11 @@ os      :=	$(shell echo $(os) | tr "[A-Z]" "[a-z]")
 # remove '/' from "os/2"
 os      :=  $(shell echo $(os) | tr -d "/")
 
+ifeq ($(os),netbsd)
+ CFLAGS	+=	-D__unix__ -I/usr/pkg/include -DUSE_XP_SEMAPHORES
+ LDFLAGS +=	-L/usr/pkg/lib
+endif
+
 ODIR	:=	gcc.$(os)
 
 LIBDIR	:=	/usr/lib
-- 
GitLab