From 9b1b5c99f93029ab4987bc3b4b5be61e3b8a136a Mon Sep 17 00:00:00 2001 From: tnn Date: Tue, 29 Jan 2008 18:24:30 +0000 Subject: Fix PR pkg/37885: sysutils/cdrtools* do not install cdrecord on -current --- sysutils/cdrtools-ossdvd/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sysutils/cdrtools-ossdvd') diff --git a/sysutils/cdrtools-ossdvd/Makefile b/sysutils/cdrtools-ossdvd/Makefile index fc6557ed4a0..00f725505e1 100644 --- a/sysutils/cdrtools-ossdvd/Makefile +++ b/sysutils/cdrtools-ossdvd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2007/10/26 10:01:53 wiz Exp $ +# $NetBSD: Makefile,v 1.31 2008/01/29 18:24:30 tnn Exp $ DISTNAME= cdrtools-2.01.01a05 PKGNAME= cdrtools-ossdvd-2.01.1.36 @@ -76,6 +76,7 @@ do-configure: ${LN} -sf i386-$$suffix ${MACHINE}-$$suffix; \ fi; \ done + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE_PROGRAM} config post-build: cd ${WRKSRC}; \ @@ -103,5 +104,10 @@ do-install: ${INSTALL_PROGRAM} OBJ/*/readcd ${PREFIX}/bin; \ ${INSTALL_MAN} readcd.1 ${PREFIX}/${PKGMANDIR}/man1 +.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h) +LDFLAGS+= -lrt +.endif + .include "../../mk/oss.buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3