diff options
author | martin <martin> | 2010-03-30 09:12:04 +0000 |
---|---|---|
committer | martin <martin> | 2010-03-30 09:12:04 +0000 |
commit | c15ec4e3598880ce08f6918ac8198d9650f26f61 (patch) | |
tree | 0625cd20b1fef535959c97e61287951454d85da9 | |
parent | 022c220a22d6e880315730253f2b5a3874c945dc (diff) | |
download | pkgsrc-c15ec4e3598880ce08f6918ac8198d9650f26f61.tar.gz |
Add oss specific build environment when defaulting to mpg123-oss output
module. Should fix PR pkg/43077.
-rw-r--r-- | audio/mpg123/Makefile | 8 |
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 |