- Disable the use of mlockall(2) on all version of FreeBSD again (see PR 62930

for a description of the problem). Appears to be a machine-dependant issue
  as I only see it on one box.
- Replace the default path to the rscsi binary in the rscsi client library
  with the correct location (why did this ever work?).

Submitted by:	marius (maintainer)
This commit is contained in:
Alexander Leidinger 2004-04-20 20:30:43 +00:00
parent 47d1ff0218
commit a04d79b29e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107750
2 changed files with 13 additions and 2 deletions

View File

@ -8,7 +8,7 @@
PORTNAME?= cdrtools
CDRTLSVERSION= 2.01a27
PORTVERSION?= ${CDRTLSVERSION}
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES?= sysutils audio
MASTER_SITES= ftp://ftp.berlios.de/pub/cdrecord/alpha/ \
ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/alpha/
@ -101,7 +101,8 @@ post-patch:
.endif
.for i in README.rscsi include/deflts.h cdda2wav/cdda2wav.1 \
cdrecord/cdrecord.1 cdrecord/cdrecord.dfl cdrecord/defaults.c \
readcd/readcd.1 rscsi/rscsi.c rscsi/rscsi.dfl scgcheck/scgcheck.1
librscg/scsi-remote.c readcd/readcd.1 rscsi/rscsi.c rscsi/rscsi.dfl \
scgcheck/scgcheck.1
@${REINPLACE_CMD} -e 's|\/opt\/schily|${PREFIX}|g; \
s|\/usr\/local|${PREFIX}|g; s|\/etc\/default|${PREFIX}\/etc|g; \
s|\/var\/adm\/messages|\/var\/run\/dmesg.boot|g' ${WRKSRC}/${i}

View File

@ -0,0 +1,10 @@
--- conf/configure.orig Fri Sep 19 16:47:37 2003
+++ conf/configure Fri Sep 19 16:49:26 2003
@@ -5567,6 +5567,7 @@
int
main()
{
+ exit(1);
if (mlockall(MCL_CURRENT|MCL_FUTURE) < 0) {
if (errno == EINVAL || errno == ENOMEM ||
errno == EPERM || errno == EACCES)