summaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade/files/patch-bin-portsclean
diff options
context:
space:
mode:
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 0000000..8635169
--- /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..."
+
OpenPOWER on IntegriCloud