Subject: pkg/24577: audio/libao has wrong settings for Linux
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 02/27/2004 15:09:58
>Number:         24577
>Category:       pkg
>Synopsis:       audio/libao has wrong settings for Linux
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 27 15:10:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        
>Organization:
>Environment:
Slackware 9.1
>Description:
libsun is not built on Linux.

See "Fix"
>How-To-Repeat:
Obvious
>Fix:
Apply this patch:

[PLEASE NOTE: This situation could occur only on Slackware Linux. As 
I've seen reed@ doing some linux things, it could be good if he could
test this patch on some other, than slackware "distro" of this wonderful
GNU/kernel + tools]

cvs diff: Diffing .
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/audio/libao/Makefile.common,v
retrieving revision 1.10
diff -u -r1.10 Makefile.common
--- Makefile.common     14 Feb 2004 18:26:27 -0000      1.10
+++ Makefile.common     27 Feb 2004 15:05:54 -0000
@@ -24,6 +24,9 @@
 .elif ${OPSYS} == "SunOS"
 PLIST_SUBST+=          LIBOSS="@comment "
 PLIST_SUBST+=          LIBSUN=""
+.elif ${OPSYS} == "Linux"
+PLIST_SUBST+=          LIBOSS=""
+PLIST_SUBST+=          LIBSUN="@comment "
 .else
 PLIST_SUBST+=          LIBOSS=""
 PLIST_SUBST+=          LIBSUN=""

>Release-Note:
>Audit-Trail:
>Unformatted: