aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2004-04-21 04:30:43 +0800
committernetchild <netchild@FreeBSD.org>2004-04-21 04:30:43 +0800
commit4cce75a2a696b653af0357f446815c3da3504827 (patch)
tree775b6dc70d9b4dc64d9d12fd3aa4ea5a81ba9012 /sysutils
parentb6ef0b0ff557df9e8ae6d0375be3af02dd2bb1e2 (diff)
downloadfreebsd-ports-gnome-4cce75a2a696b653af0357f446815c3da3504827.tar.gz
freebsd-ports-gnome-4cce75a2a696b653af0357f446815c3da3504827.tar.zst
freebsd-ports-gnome-4cce75a2a696b653af0357f446815c3da3504827.zip
- 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)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrtools-devel/Makefile5
-rw-r--r--sysutils/cdrtools-devel/files/patch-conf::configure10
2 files changed, 13 insertions, 2 deletions
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile
index 316d773da7b0..85dfd5b8c55e 100644
--- a/sysutils/cdrtools-devel/Makefile
+++ b/sysutils/cdrtools-devel/Makefile
@@ -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}
diff --git a/sysutils/cdrtools-devel/files/patch-conf::configure b/sysutils/cdrtools-devel/files/patch-conf::configure
new file mode 100644
index 000000000000..eda23804083c
--- /dev/null
+++ b/sysutils/cdrtools-devel/files/patch-conf::configure
@@ -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)