I tried to build audio/portaudio and got the following error: lib/.libs/libportaudio.so: undefined reference to `sched_setscheduler' lib/.libs/libportaudio.so: undefined reference to `sched_get_priority_max' lib/.libs/libportaudio.so: undefined reference to `sched_get_priority_min' I was able to build the package with the following change: Index: audio/portaudio/Makefile =================================================================== RCS file: /cvsroot/pkgsrc/audio/portaudio/Makefile,v retrieving revision 1.15 diff -u -p -u -r1.15 Makefile --- audio/portaudio/Makefile 1 Jul 2007 21:00:14 -0000 1.15 +++ audio/portaudio/Makefile 18 Jan 2008 14:19:10 -0000 @@ -20,6 +20,7 @@ USE_LIBTOOL= yes GNU_CONFIGURE= yes CFLAGS.Darwin= -Ipablio +CFLAGS += -lrt EXTRACT_OPTS_ZIP= -aqo However, that won't be very portable. Is there a better way to do this? -- D'Arcy J.M. Cain <darcy%NetBSD.org@localhost> http://www.NetBSD.org/