summaryrefslogtreecommitdiff
path: root/audio/nas/patches/patch-aa
blob: 62e36687008dcfbf69f1ab9a7b3aa31de84f3ace (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.11 2008/05/31 13:32:04 tnn Exp $

--- lib/audio/Imakefile.orig	2006-08-14 03:10:05.000000000 +0200
+++ lib/audio/Imakefile
@@ -150,14 +150,14 @@ 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
-
-#if defined(cygwinArchitecture)
+#elif defined(cygwinArchitecture)
 REQUIREDLIBS = $(LDPRELIB) $(XAUTHLIB) $(XTOOLLIB) $(XONLYLIB)
 STD_INCLUDES = -I/usr/include
-#endif                                                                        
+#else
+REQUIREDLIBS = -L$(USRLIBDIR) -lXt $(XAULIB)
+#endif
 
 
 #if DoSharedLib