aboutsummaryrefslogtreecommitdiff
path: root/sysutils/portupgrade/files/patch-bin-portsclean
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-06-19 07:33:35 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-06-19 07:33:35 +0000
commit459dd2231597923872b4bccb6dcbc324549a7903 (patch)
tree26335469cf93a371c364409cece20589981a18cb /sysutils/portupgrade/files/patch-bin-portsclean
parentb59d496060199f36a818c4815f1c0a8e6ab5af9c (diff)
downloadports-459dd2231597923872b4bccb6dcbc324549a7903.tar.gz
ports-459dd2231597923872b4bccb6dcbc324549a7903.zip
Notes
Diffstat (limited to 'sysutils/portupgrade/files/patch-bin-portsclean')
-rw-r--r--sysutils/portupgrade/files/patch-bin-portsclean12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/portupgrade/files/patch-bin-portsclean b/sysutils/portupgrade/files/patch-bin-portsclean
new file mode 100644
index 000000000000..863516982d30
--- /dev/null
+++ b/sysutils/portupgrade/files/patch-bin-portsclean
@@ -0,0 +1,12 @@
+--- bin/portsclean.orig Mon Jun 19 11:21:30 2006
++++ bin/portsclean Mon Jun 19 11:27:10 2006
+@@ -218,6 +218,9 @@
+
+ def distclean(level)
+ return if level <= 0
++
++ level = 1 if level == 2
++ level = 2 if level > 2
+
+ puts "Detecting unreferenced distfiles..."
+