pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils Fix PR pkg/37885: sysutils/cdrtools* do not i...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2aeea99baa8c
branches: trunk
changeset: 538129:2aeea99baa8c
user: tnn <tnn%pkgsrc.org@localhost>
date: Tue Jan 29 18:24:30 2008 +0000
description:
Fix PR pkg/37885: sysutils/cdrtools* do not install cdrecord on -current
diffstat:
sysutils/cdrtools-ossdvd/Makefile | 8 +++++++-
sysutils/cdrtools/Makefile | 9 ++++++++-
2 files changed, 15 insertions(+), 2 deletions(-)
diffs (57 lines):
diff -r 13d5391edd1b -r 2aeea99baa8c sysutils/cdrtools-ossdvd/Makefile
--- a/sysutils/cdrtools-ossdvd/Makefile Tue Jan 29 16:41:36 2008 +0000
+++ b/sysutils/cdrtools-ossdvd/Makefile Tue Jan 29 18:24:30 2008 +0000
@@ -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 @@
${LN} -sf i386-$$suffix ${MACHINE}-$$suffix; \
fi; \
done
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE_PROGRAM} config
post-build:
cd ${WRKSRC}; \
@@ -103,5 +104,10 @@
${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 -r 13d5391edd1b -r 2aeea99baa8c sysutils/cdrtools/Makefile
--- a/sysutils/cdrtools/Makefile Tue Jan 29 16:41:36 2008 +0000
+++ b/sysutils/cdrtools/Makefile Tue Jan 29 18:24:30 2008 +0000
@@ -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 @@
ln -sf i386-$$suffix ${MACHINE}-$$suffix; \
fi; \
done
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE_PROGRAM} config
+
post-build:
cd ${WRKSRC}; \
@@ -120,5 +122,10 @@
${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"
Home |
Main Index |
Thread Index |
Old Index