summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authormartin <martin>2010-03-30 09:12:04 +0000
committermartin <martin>2010-03-30 09:12:04 +0000
commitc15ec4e3598880ce08f6918ac8198d9650f26f61 (patch)
tree0625cd20b1fef535959c97e61287951454d85da9 /audio
parent022c220a22d6e880315730253f2b5a3874c945dc (diff)
downloadpkgsrc-c15ec4e3598880ce08f6918ac8198d9650f26f61.tar.gz
Add oss specific build environment when defaulting to mpg123-oss output
module. Should fix PR pkg/43077.
Diffstat (limited to 'audio')
-rw-r--r--audio/mpg123/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index ff0703ba521..287a9165e20 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2010/03/14 17:03:04 tron Exp $
+# $NetBSD: Makefile,v 1.47 2010/03/30 09:12:04 martin Exp $
PKGNAME= ${DISTNAME:C/[^[:alnum:]]*//}
COMMENT= MPEG layer 1, 2, and 3 audio player
@@ -31,6 +31,9 @@ PLIST.coreaudio = yes
.else
MPG123_DEFAULT_MODULE= oss
PLIST.oss = yes
+LIBS+= -lossaudio
+CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\""
+CPPFLAGS+= -DDEVOSSSOUND="\"${DEVOSSSOUND}\""
.endif
# MPG123_MODULE is not finally set yet, to avoid NOT_FOR_PLATFORM triggers
@@ -41,6 +44,3 @@ PLIST.oss = yes
# now we can set the default module
MPG123_MODULE= ${MPG123_DEFAULT_MODULE}
-
-#post-extract:
-# ${RUN} cp ${FILESDIR}/debug.c ${WRKSRC}/src/libmpg123