diff options
author | seb <seb@pkgsrc.org> | 2003-01-21 17:40:30 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2003-01-21 17:40:30 +0000 |
commit | 178492d9273eacbcfb5d85594c1bd20dbe41ff54 (patch) | |
tree | 431d5030509fb5c75de3f1a7f44a3d766da0aa1c /audio/mp3blaster | |
parent | b7bcd139d23029cf1c2428c712f7bbbcbc7be461 (diff) | |
download | pkgsrc-178492d9273eacbcfb5d85594c1bd20dbe41ff54.tar.gz |
Fix build with native threads on -current.
Provided in PR pkg/19967 by <pino at dohd dot org>.
PKGREVISION++
Diffstat (limited to 'audio/mp3blaster')
-rw-r--r-- | audio/mp3blaster/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/audio/mp3blaster/Makefile b/audio/mp3blaster/Makefile index f88bd6d8b01..86df764e659 100644 --- a/audio/mp3blaster/Makefile +++ b/audio/mp3blaster/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2002/11/22 17:02:03 jschauma Exp $ +# $NetBSD: Makefile,v 1.7 2003/01/21 17:40:30 seb Exp $ DISTNAME= mp3blaster-3.1.3 +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= ftp://mud.stack.nl/pub/mp3blaster/ \ http://mp3blaster.linuxave.net/src/ @@ -15,11 +16,15 @@ USE_BUILDLINK2= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+="--with-cxxflags=${CXXFLAGS}" \ --with-curses \ - --with-oggvorbis \ - --enable-newthreads + --with-oggvorbis + +.include "../../mk/pthread.buildlink2.mk" + +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth") +CONFIGURE_ARGS+= --enable-newthreads +.endif .include "../../audio/libvorbis/buildlink2.mk" .include "../../devel/ncurses/buildlink2.mk" .include "../../mk/ossaudio.buildlink2.mk" -.include "../../mk/pthread.buildlink2.mk" .include "../../mk/bsd.pkg.mk" |