pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43279: audio/mpg123 broken on DragonFly



>Number:         43279
>Category:       pkg
>Synopsis:       audio/mpg123 broken on DragonFly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 08 17:35:00 +0000 2010
>Originator:     Alexander Polakov
>Release:        n/a
>Organization:
>Environment:
DragonFly noisy 2.7-DEVELOPMENT DragonFly v2.7.2.138.gbf716-DEVELOPMENT #0: Sun 
May  2 01:55:43 MSD 2010     polachok@noisy:/usr/obj/usr/src/sys/XEON  i386

>Description:
In mpg123 sun backend is used for DragonFly, which is not right. DragonFly 
doesn't have /dev/audio and <sys/audioio.h>, so the backend won't build and 
installation fails.
Oss backend should be used. I guess the same is right for FreeBSD, but don't 
have a machine to test.
>How-To-Repeat:

>Fix:
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index b6dc9cf..1d225cf 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -22,7 +22,7 @@ PLIST_VARS+=  sun
 PLIST_VARS+=   coreaudio
 
 .if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" \
-       || ${OPSYS} == "SunOS" || ${OPSYS} == "DragonFly"
+       || ${OPSYS} == "SunOS"
 MPG123_DEFAULT_MODULE= sun
 PLIST.sun      =       yes
 .elif ${OPSYS} == "Darwin"



Home | Main Index | Thread Index | Old Index