diff options
author | tnn <tnn@pkgsrc.org> | 2008-01-29 18:24:30 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-01-29 18:24:30 +0000 |
commit | 9b1b5c99f93029ab4987bc3b4b5be61e3b8a136a (patch) | |
tree | 64d71bd0f0912aea0fac7daaf37c5600f1d5d7b1 /sysutils | |
parent | 8878d87b25a745d09fb20e00c978280425c32447 (diff) | |
download | pkgsrc-9b1b5c99f93029ab4987bc3b4b5be61e3b8a136a.tar.gz |
Fix PR pkg/37885: sysutils/cdrtools* do not install cdrecord on -current
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/cdrtools-ossdvd/Makefile | 8 | ||||
-rw-r--r-- | sysutils/cdrtools/Makefile | 9 |
2 files changed, 15 insertions, 2 deletions
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" diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile index 3e8c18fa151..69cd1954583 100644 --- a/sysutils/cdrtools/Makefile +++ b/sysutils/cdrtools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2008/01/15 22:45:11 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2008/01/29 18:24:30 tnn Exp $ DISTNAME= cdrtools-2.01.01a37 PKGNAME= cdrtools-2.01.01.37 @@ -81,6 +81,8 @@ do-configure: ln -sf i386-$$suffix ${MACHINE}-$$suffix; \ fi; \ done + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE_PROGRAM} config + post-build: cd ${WRKSRC}; \ @@ -120,5 +122,10 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/mkisofs/README* \ ${DESTDIR}${PREFIX}/share/doc/cdrtools/mkisofs +.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" |