pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/portaudio Fix build on NetBSD-current
details: https://anonhg.NetBSD.org/pkgsrc/rev/aeb6b4189fad
branches: trunk
changeset: 538259:aeb6b4189fad
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Feb 03 16:10:22 2008 +0000
description:
Fix build on NetBSD-current
diffstat:
audio/portaudio/Makefile | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 292ae3fa5165 -r aeb6b4189fad audio/portaudio/Makefile
--- a/audio/portaudio/Makefile Sun Feb 03 15:54:27 2008 +0000
+++ b/audio/portaudio/Makefile Sun Feb 03 16:10:22 2008 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index