aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2011-07-22 04:18:09 +0800
committermm <mm@FreeBSD.org>2011-07-22 04:18:09 +0800
commita9b69086cd5ad38cd70f9ce1b7de161176817d25 (patch)
treee48ca1a7c8cfd7f6ebe823c0664499170f769392
parent80836ddb71c7a47cefc57ded19dc8c28c2f6ce44 (diff)
downloadfreebsd-ports-gnome-a9b69086cd5ad38cd70f9ce1b7de161176817d25.tar.gz
freebsd-ports-gnome-a9b69086cd5ad38cd70f9ce1b7de161176817d25.tar.zst
freebsd-ports-gnome-a9b69086cd5ad38cd70f9ce1b7de161176817d25.zip
- Add small patch: remove unexisting attribute from example
-rw-r--r--sysutils/zfs-stats/Makefile3
-rw-r--r--sysutils/zfs-stats/files/patch-zfs.stats11
2 files changed, 13 insertions, 1 deletions
diff --git a/sysutils/zfs-stats/Makefile b/sysutils/zfs-stats/Makefile
index 90aabbf8ae22..53ee5cfd80ae 100644
--- a/sysutils/zfs-stats/Makefile
+++ b/sysutils/zfs-stats/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zfs-stats
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://cloud.github.com/downloads/mmatuska/zfs-stats/
@@ -21,7 +22,7 @@ NO_BUILD= yes
PLIST_FILES= bin/zfs-stats
-do-patch:
+post-patch:
@${REINPLACE_CMD} -e "s|/usr/bin/env -iS perl|${PERL}|g" ${WRKSRC}/zfs-stats
do-install:
diff --git a/sysutils/zfs-stats/files/patch-zfs.stats b/sysutils/zfs-stats/files/patch-zfs.stats
new file mode 100644
index 000000000000..c041ccb416c4
--- /dev/null
+++ b/sysutils/zfs-stats/files/patch-zfs.stats
@@ -0,0 +1,11 @@
+--- zfs-stats.orig 2011-07-21 22:14:21.819600188 +0200
++++ zfs-stats 2011-07-21 22:14:29.613693502 +0200
+@@ -78,7 +78,7 @@
+ -V : display program version and exit
+ -h : display this (help) message
+
+-example: $0 -b
++example: $0 -a
+ EOF
+ exit;
+ }