mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
When doing 'update' and 'diff', use our cvs(1)'s -R feature, this would accelerate
on certain configurations. While I'm there, make use of 'SF' macro for SourceForge mirror. PR: ports/116248
This commit is contained in:
parent
efabdf86fc
commit
f139205c26
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217653
@ -7,9 +7,9 @@
|
||||
|
||||
PORTNAME= porttools
|
||||
PORTVERSION= 0.77
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Tools for testing and submitting port updates and new ports
|
||||
|
20
ports-mgmt/porttools/files/patch-util_diff.in
Normal file
20
ports-mgmt/porttools/files/patch-util_diff.in
Normal file
@ -0,0 +1,20 @@
|
||||
--- ./util_diff.in.orig 2006-05-06 19:31:58.000000000 +0800
|
||||
+++ ./util_diff.in 2007-09-10 11:14:41.199138345 +0800
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
# Run 'cvs update' first
|
||||
echo "===> Updating from CVS"
|
||||
- cvs update -Pd
|
||||
+ cvs -R update -Pd
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "Error updating CVS"
|
||||
@@ -62,7 +62,7 @@
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- DIFF_CMD="cvs diff -uN"
|
||||
+ DIFF_CMD="cvs -R diff -uN"
|
||||
else
|
||||
# Non-CVS modes
|
||||
if [ -d ${DIFF_MODE} ]
|
Loading…
Reference in New Issue
Block a user