diff options
author | obache <obache> | 2008-03-08 11:14:11 +0000 |
---|---|---|
committer | obache <obache> | 2008-03-08 11:14:11 +0000 |
commit | 5646bc64bd4aa044b946e0adb82ab243aaf6e992 (patch) | |
tree | 79da8f5d9f248ecd3083390e662ce15898cbe179 /sysutils/dvdrecord | |
parent | 5bb0d27c46ddcc2c8d010739015eeb6963aa0587 (diff) | |
download | pkgsrc-5646bc64bd4aa044b946e0adb82ab243aaf6e992.tar.gz |
Need -lrt on NetBSD-current for sched_*.
Fixes PR 38150.
Diffstat (limited to 'sysutils/dvdrecord')
-rw-r--r-- | sysutils/dvdrecord/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/dvdrecord/Makefile b/sysutils/dvdrecord/Makefile index a834ddc5c0b..602b076866e 100644 --- a/sysutils/dvdrecord/Makefile +++ b/sysutils/dvdrecord/Makefile @@ -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 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 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; \ |