diff options
author | seb <seb> | 2003-01-21 17:40:30 +0000 |
---|---|---|
committer | seb <seb> | 2003-01-21 17:40:30 +0000 |
commit | 3ce36a555063391751aa1dfd4a1d29e6137ebe44 (patch) | |
tree | 431d5030509fb5c75de3f1a7f44a3d766da0aa1c /audio/mp3blaster | |
parent | 6d1b323aaf8e8b428f6d5858b0742dddc6f474ed (diff) | |
download | pkgsrc-3ce36a555063391751aa1dfd4a1d29e6137ebe44.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" |