pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/dvdrecord Need -lrt on NetBSD-current for sch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14c67e8ce05f
branches:  trunk
changeset: 539563:14c67e8ce05f
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Mar 08 11:14:11 2008 +0000

description:
Need -lrt on NetBSD-current for sched_*.
Fixes PR 38150.

diffstat:

 sysutils/dvdrecord/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 01d849b8bdda -r 14c67e8ce05f sysutils/dvdrecord/Makefile
--- a/sysutils/dvdrecord/Makefile       Sat Mar 08 11:00:34 2008 +0000
+++ b/sysutils/dvdrecord/Makefile       Sat Mar 08 11:14:11 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/01/24 02:17:00 rillig Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/08 11:14:11 obache Exp $
 
 DISTNAME=      dvdrtools-${VERSION}
 PKGNAME=       ${DISTNAME:S/dvdrtools/dvdrecord/}
@@ -19,6 +19,12 @@
 LIBS.SunOS+=           -lsocket
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
+LIBS.NetBSD+=          -lrt
+.endif
+
 do-install:
        cd ${WRKSRC}/cdrecord;                                          \
                ${INSTALL_PROGRAM} dvdrecord ${PREFIX}/bin;             \



Home | Main Index | Thread Index | Old Index