diff options
author | Steve Wills <swills@FreeBSD.org> | 2012-08-29 18:25:20 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2012-08-29 18:25:20 +0000 |
commit | 60c396473d5491f7fb1b7b11e9eaf981d88d945c (patch) | |
tree | 92be296d51ff76697bb5c9e276938216759f8189 /textproc/augeas | |
parent | f8d3d122df882a27a36f0d8f53d903c260665960 (diff) | |
download | ports-60c396473d5491f7fb1b7b11e9eaf981d88d945c.tar.gz ports-60c396473d5491f7fb1b7b11e9eaf981d88d945c.zip |
Notes
Diffstat (limited to 'textproc/augeas')
-rw-r--r-- | textproc/augeas/Makefile | 2 | ||||
-rw-r--r-- | textproc/augeas/files/patch-lenses__sysctl.aug | 11 |
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]*/ "# " |