aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/augeas
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2012-08-30 02:25:20 +0800
committerswills <swills@FreeBSD.org>2012-08-30 02:25:20 +0800
commitc1acee018d3dc1ef11cfebf3f1fa15e267240643 (patch)
tree92be296d51ff76697bb5c9e276938216759f8189 /textproc/augeas
parent5aca31d9eb17c44e351fea55be4911aacb495ee9 (diff)
downloadfreebsd-ports-gnome-c1acee018d3dc1ef11cfebf3f1fa15e267240643.tar.gz
freebsd-ports-gnome-c1acee018d3dc1ef11cfebf3f1fa15e267240643.tar.zst
freebsd-ports-gnome-c1acee018d3dc1ef11cfebf3f1fa15e267240643.zip
- Fix sysctl lens
PR: ports/170761 Submitted by: Dave Duchscher <daved@tamu.edu>
Diffstat (limited to 'textproc/augeas')
-rw-r--r--textproc/augeas/Makefile2
-rw-r--r--textproc/augeas/files/patch-lenses__sysctl.aug11
2 files changed, 12 insertions, 1 deletions
diff --git a/textproc/augeas/Makefile b/textproc/augeas/Makefile
index 2cd25392e3cd..5e069df733ba 100644
--- a/textproc/augeas/Makefile
+++ b/textproc/augeas/Makefile
@@ -8,7 +8,7 @@
PORTNAME= augeas
PORTVERSION= 0.10.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= http://augeas.net/download/
diff --git a/textproc/augeas/files/patch-lenses__sysctl.aug b/textproc/augeas/files/patch-lenses__sysctl.aug
new file mode 100644
index 000000000000..fcd6aabdccdd
--- /dev/null
+++ b/textproc/augeas/files/patch-lenses__sysctl.aug
@@ -0,0 +1,11 @@
+--- lenses/sysctl.aug.orig 2012-08-19 01:11:41.000000000 +0000
++++ lenses/sysctl.aug 2012-08-19 01:11:57.000000000 +0000
+@@ -6,7 +6,7 @@
+ let eol = Util.eol
+ let indent = Util.indent
+ let key_re = /[A-Za-z0-9_.-]+/
+- let eq = del /[ \t]*=[ \t]*/ " = "
++ let eq = del /[ \t]*=[ \t]*/ "="
+ let value_re = /[^ \t\n](.*[^ \t\n])?/
+
+ let comment = [ indent . label "#comment" . del /[#;][ \t]*/ "# "