summaryrefslogtreecommitdiff
path: root/audio/nas/patches/patch-aa
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-11-10 02:41:34 +0000
committerwiz <wiz@pkgsrc.org>2007-11-10 02:41:34 +0000
commita623639904bb1369b41b647f9f6f18dadff03014 (patch)
tree09df173f86fc46d35530b1191b9910e8369da909 /audio/nas/patches/patch-aa
parente79bd886c594981d25ab7bce1bb62ba72ad43cf2 (diff)
downloadpkgsrc-a623639904bb1369b41b647f9f6f18dadff03014.tar.gz
Link libaudio against the libraries it needs (previously on Linux, Darwin,
and FreeBSD; now on NetBSD too). Bump PKGREVISION. Noted broken by hira@
Diffstat (limited to 'audio/nas/patches/patch-aa')
-rw-r--r--audio/nas/patches/patch-aa13
1 files changed, 11 insertions, 2 deletions
diff --git a/audio/nas/patches/patch-aa b/audio/nas/patches/patch-aa
index 6e0075d1526..2e5fce579fa 100644
--- a/audio/nas/patches/patch-aa
+++ b/audio/nas/patches/patch-aa
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.9 2006/07/08 00:27:56 minskim Exp $
+$NetBSD: patch-aa,v 1.10 2007/11/10 02:41:34 wiz Exp $
---- lib/audio/Imakefile.orig 2005-06-04 13:08:54.000000000 -0700
+--- 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