aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2006-03-24 21:16:17 +0800
committertobez <tobez@FreeBSD.org>2006-03-24 21:16:17 +0800
commitdea21c290b7cf1f74a5f24afd16feab172080daf (patch)
treecf3db49f7bd991a66a7a2ffd2c62a5b290c51fec /sysutils
parent11896e40614730b0ba6222aef6d461111e272cca (diff)
downloadfreebsd-ports-gnome-dea21c290b7cf1f74a5f24afd16feab172080daf.tar.gz
freebsd-ports-gnome-dea21c290b7cf1f74a5f24afd16feab172080daf.tar.zst
freebsd-ports-gnome-dea21c290b7cf1f74a5f24afd16feab172080daf.zip
Make the module work.
PR: 94907 Submitted by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/p5-Filesys-DiskFree/Makefile1
-rw-r--r--sysutils/p5-Filesys-DiskFree/files/patch-DiskFree.pm15
2 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/p5-Filesys-DiskFree/Makefile b/sysutils/p5-Filesys-DiskFree/Makefile
index e2968cf27212..9ecc7d493d72 100644
--- a/sysutils/p5-Filesys-DiskFree/Makefile
+++ b/sysutils/p5-Filesys-DiskFree/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Filesys-DiskFree
PORTVERSION= 0.06
+PORTREVISION= 1
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Filesys
diff --git a/sysutils/p5-Filesys-DiskFree/files/patch-DiskFree.pm b/sysutils/p5-Filesys-DiskFree/files/patch-DiskFree.pm
new file mode 100644
index 000000000000..9774007182ee
--- /dev/null
+++ b/sysutils/p5-Filesys-DiskFree/files/patch-DiskFree.pm
@@ -0,0 +1,15 @@
+--- DiskFree.pm.old Sat Oct 24 00:30:01 1998
++++ DiskFree.pm Fri Mar 24 12:58:45 2006
+@@ -39,7 +39,11 @@
+ 'inodes' => "df -i",
+ 'format' => 'bsdish',
+ },
+-
++ 'freebsd' => {
++ 'blocks' => "df -Pi",
++ 'inodes' => "df -Pi",
++ 'format' => 'bsdish',
++ },
+ 'irix' => {
+ 'blocks' => "df",
+ 'inodes' => "df -i",