diff options
author | martin <martin@pkgsrc.org> | 2010-03-30 10:29:22 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2010-03-30 10:29:22 +0000 |
commit | 470122ea6bd52c31cee56234e531ab37922b87c4 (patch) | |
tree | 329309bd3faa098509dc3f62ae49ff90b93ccfed | |
parent | 3f5c933ed12e9f99d972f599d128b158a7273f19 (diff) | |
download | pkgsrc-470122ea6bd52c31cee56234e531ab37922b87c4.tar.gz |
Use ${LIBOSSAUDIO} from oss.buildlink3.mk. (PR pkg/43077)
-rw-r--r-- | audio/mpg123-oss/Makefile | 7 | ||||
-rw-r--r-- | audio/mpg123/Makefile | 5 |
2 files changed, 6 insertions, 6 deletions
diff --git a/audio/mpg123-oss/Makefile b/audio/mpg123-oss/Makefile index 01b62541832..c05e6921cbb 100644 --- a/audio/mpg123-oss/Makefile +++ b/audio/mpg123-oss/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2010/03/14 14:19:19 martin Exp $ +# $NetBSD: Makefile,v 1.2 2010/03/30 10:29:22 martin Exp $ # MPG123_MODULE= oss @@ -8,12 +8,11 @@ ONLY_FOR_PLATFORM+= DragonFly-*-* .include "${.CURDIR}/../../audio/mpg123/Makefile.common" -LIBS+= -lossaudio +.include "../../mk/oss.buildlink3.mk" +LIBS+= ${LIBOSSAUDIO} CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\"" CPPFLAGS+= -DDEVOSSSOUND="\"${DEVOSSSOUND}\"" -.include "../../mk/oss.buildlink3.mk" - .include "../../audio/mpg123/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile index 287a9165e20..b6dc9cf0b20 100644 --- a/audio/mpg123/Makefile +++ b/audio/mpg123/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2010/03/30 09:12:04 martin Exp $ +# $NetBSD: Makefile,v 1.48 2010/03/30 10:29:22 martin Exp $ PKGNAME= ${DISTNAME:C/[^[:alnum:]]*//} COMMENT= MPEG layer 1, 2, and 3 audio player @@ -31,7 +31,8 @@ PLIST.coreaudio = yes .else MPG123_DEFAULT_MODULE= oss PLIST.oss = yes -LIBS+= -lossaudio +.include "../../mk/oss.buildlink3.mk" +LIBS+= ${LIBOSSAUDIO} CPPFLAGS+= -DDEVOSSAUDIO="\"${DEVOSSAUDIO}\"" CPPFLAGS+= -DDEVOSSSOUND="\"${DEVOSSSOUND}\"" .endif |