From a9b69086cd5ad38cd70f9ce1b7de161176817d25 Mon Sep 17 00:00:00 2001 From: mm Date: Thu, 21 Jul 2011 20:18:09 +0000 Subject: - Add small patch: remove unexisting attribute from example --- sysutils/zfs-stats/Makefile | 3 ++- sysutils/zfs-stats/files/patch-zfs.stats | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 sysutils/zfs-stats/files/patch-zfs.stats 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; + } -- cgit