diff options
author | tnn <tnn@pkgsrc.org> | 2008-02-03 16:10:22 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-02-03 16:10:22 +0000 |
commit | 33ad651d2f405af491c1033b487b250d06c04f54 (patch) | |
tree | b92e288ff6c1a65dd46177ab3c7c0b69d4443004 /audio | |
parent | 765438726addba281b30e230167cf6d8aa392b4f (diff) | |
download | pkgsrc-33ad651d2f405af491c1033b487b250d06c04f54.tar.gz |
Fix build on NetBSD-current
Diffstat (limited to 'audio')
-rw-r--r-- | audio/portaudio/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/audio/portaudio/Makefile b/audio/portaudio/Makefile index 0781cdedbd0..84d6f3f1e0a 100644 --- a/audio/portaudio/Makefile +++ b/audio/portaudio/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/07/01 21:00:14 heinz Exp $ +# $NetBSD: Makefile,v 1.16 2008/02/03 16:10:22 tnn Exp $ DISTNAME= portaudio_v18_1 PKGNAME= portaudio-18.1 @@ -25,9 +25,15 @@ EXTRACT_OPTS_ZIP= -aqo INSTALLATION_DIRS+= lib include +.include "../../mk/bsd.prefs.mk" +.include "../../mk/pthread.buildlink3.mk" + +.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h) +PTHREAD_LIBS+= -lrt +.endif + pre-configure: ${CHMOD} 755 ${WRKSRC:Q}/configure -.include "../../mk/pthread.buildlink3.mk" .include "../../mk/oss.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |