summaryrefslogtreecommitdiff
path: root/audio/nas/patches/patch-aa
blob: 2e5fce579faede513a70ee3b4194b4e4e1381762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-aa,v 1.10 2007/11/10 02:41:34 wiz Exp $

--- lib/audio/Imakefile.orig	2006-08-14 01:10:05.000000000 +0000
+++ lib/audio/Imakefile
@@ -150,7 +150,7 @@ XAULIB = 
 XAULIB = -lXau
 #endif
 
-#if defined(LinuxArchitecture) || defined(GNUArchitecture) || defined(__FreeBSD_kernel__)
+#if defined(LinuxArchitecture) || defined(GNUArchitecture) || defined(__FreeBSD_kernel__) || defined(NetBSDArchitecture)
 REQUIREDLIBS = -L$(USRLIBDIR) -lXt $(XAULIB) -lm 
 #endif
 
@@ -159,6 +159,10 @@ REQUIREDLIBS = $(LDPRELIB) $(XAUTHLIB) $
 STD_INCLUDES = -I/usr/include
 #endif                                                                        
 
+#if defined(DarwinArchitecture)
+REQUIREDLIBS = -L$(USRLIBDIR) -lXt $(XAULIB) 
+#endif
+
 
 #if DoSharedLib
 #if DoNormalLib