summaryrefslogtreecommitdiff
path: root/sysutils/dvd+rw-tools/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2006-01-31 19:01:28 +0000
committerxtraeme <xtraeme@pkgsrc.org>2006-01-31 19:01:28 +0000
commit197ea72eda4752c470624d3e80e86555c2140cbb (patch)
tree61333033f10c57d17040cd6499991bdd92ec72c3 /sysutils/dvd+rw-tools/Makefile
parentbd93881c271b2cb4db02b8fbd7fa793f98b0ba31 (diff)
downloadpkgsrc-197ea72eda4752c470624d3e80e86555c2140cbb.tar.gz
Looks like growisofs core dumped because it couldn't run the
pthread_attr_setscope() function (which is not implemented on NetBSD). Also now it uses sem_* functions for semaphores, so link it to librt on NetBSD. This closes PR pkg/32675 by hira@. Bump PKGREVISION.
Diffstat (limited to 'sysutils/dvd+rw-tools/Makefile')
-rw-r--r--sysutils/dvd+rw-tools/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/dvd+rw-tools/Makefile b/sysutils/dvd+rw-tools/Makefile
index f28d0aaed31..258412fe262 100644
--- a/sysutils/dvd+rw-tools/Makefile
+++ b/sysutils/dvd+rw-tools/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2006/01/16 23:03:20 xtraeme Exp $
+# $NetBSD: Makefile,v 1.18 2006/01/31 19:01:28 xtraeme Exp $
#
DISTNAME= dvd+rw-tools-6.0
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://fy.chalmers.se/~appro/linux/DVD+RW/tools/
@@ -19,6 +20,8 @@ INSTALLATION_DIRS= bin man/man1
ONLY_FOR_PLATFORM=Linux-*-* OpenBSD-*-* NetBSD-*-* FreeBSD-*-* \
DragonFly-*-* SunOS-*-* HP-UX-*-* IRIX-*-*
+LIBS.NetBSD+= -lrt # sem_* functions
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/growisofs ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/growisofs.1 ${PREFIX}/man/man1
@@ -28,4 +31,5 @@ do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dvd+rw-tools
${INSTALL_DATA} ${WRKSRC}/index.html ${PREFIX}/share/doc/dvd+rw-tools
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"