diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-20 07:15:34 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-20 07:15:34 +0000 |
commit | 5d7fea900647c6dbf658dcd180b3eebf071ddfeb (patch) | |
tree | ffa35505e4e07f7c24f799deeb905fd010226e49 /ports-mgmt/portupgrade-devel | |
parent | Add galax 0.2.0, a full-featured, fully compliant implementation of XQuery. (diff) |
Add a patch to make portupgrade(1) work on somewhat older systems
which sed(1) does not have a -E option.
Pointed out by: nork
Notes
Notes:
svn path=/head/; revision=70541
Diffstat (limited to 'ports-mgmt/portupgrade-devel')
-rw-r--r-- | ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb b/ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb new file mode 100644 index 000000000000..8caf4b3d3bfb --- /dev/null +++ b/ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb @@ -0,0 +1,14 @@ +Index: lib/pkgtools.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/pkgtools.rb,v +retrieving revision 1.100 +diff -u -1 -r1.100 pkgtools.rb +--- lib/pkgtools.rb 19 Nov 2002 04:53:50 -0000 1.100 ++++ lib/pkgtools.rb 20 Nov 2002 06:01:28 -0000 +@@ -649,4 +649,4 @@ + +- filter_file(shelljoin('sed', '-E', +- "s|^(@comment[[:space:]]+ORIGIN:).*$|\\1#{origin}|"), ++ filter_file(shelljoin('sed', ++ "s|^\\(@comment[ \t][ \t]*ORIGIN:\\).*$|\\1#{origin}|"), + contents_file) |