Fix build with native threads on -current.

Provided in PR pkg/19967 by <pino at dohd dot org>.
PKGREVISION++
This commit is contained in:
seb 2003-01-21 17:40:30 +00:00
parent b7bcd139d2
commit 178492d927

View file

@ -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"