$NetBSD: patch-ab,v 1.10 2002/12/03 09:13:39 jlam Exp $

--- server/Imakefile.orig	Tue Jul 23 18:49:33 2002
+++ server/Imakefile
@@ -61,7 +61,7 @@ XCOMM $NCDId: @(#)Imakefile,v 1.17 1995/
 #endif
 
 #ifdef NetBSDArchitecture
-        SYSLIBS = -lossaudio
+        SYSLIBS = $(LIBOSSAUDIO)
 #endif
 
            CBRT =
@@ -99,7 +99,7 @@ RCMANDIR = $(MANDIR)
 #endif
 
 
-#if defined(i386SVR4Architecture) || defined(__FreeBSD__) || defined(FreeBSDArchitecture) || defined(LinuxArchitecture) || defined(i386BsdArchitecture) || defined(USLArchitecture) || defined(cygwinArchitecture)
+#if defined(i386SVR4Architecture) || defined(NetBSDArchitecture) || defined(__FreeBSD__) || defined(FreeBSDArchitecture) || defined(LinuxArchitecture) || defined(i386BsdArchitecture) || defined(USLArchitecture) || defined(cygwinArchitecture)
 # define CanBuildAuServer	YES
 
 # if defined(LinuxArchitecture)
@@ -224,6 +224,7 @@ clean::
 	$(RM) $(ALL)
 
  ETCDIR = NasConfigSearchPath
+ EGDIR = ${PREFIX}/share/examples/nas
 
 InstallManPage(nasd,$(MANDIR))
 #ifdef InstallGenManPage
@@ -231,7 +232,7 @@ InstallGenManPage(nasd.conf,$(RCMANDIR),
 #else
 InstallManPage(nasd.conf,$(RCMANDIR))
 #endif
-InstallNonExecFile(nasd.conf.eg,$(ETCDIR))
+InstallNonExecFile(nasd.conf.eg,$(EGDIR))
 
 #else /* CanBuildAuServer */