mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
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
This commit is contained in:
parent
25fc54822e
commit
5d7fea9006
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70541
14
ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb
Normal file
14
ports-mgmt/portupgrade-devel/files/patch-pkgtools.rb
Normal file
@ -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)
|
14
ports-mgmt/portupgrade/files/patch-pkgtools.rb
Normal file
14
ports-mgmt/portupgrade/files/patch-pkgtools.rb
Normal file
@ -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)
|
14
sysutils/portupgrade-devel/files/patch-pkgtools.rb
Normal file
14
sysutils/portupgrade-devel/files/patch-pkgtools.rb
Normal file
@ -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)
|
14
sysutils/portupgrade/files/patch-pkgtools.rb
Normal file
14
sysutils/portupgrade/files/patch-pkgtools.rb
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user