diff options
author | stas <stas@FreeBSD.org> | 2010-12-14 15:37:08 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2010-12-14 15:37:08 +0800 |
commit | f65bcf7d297eac72eede823586c0c54647734b3c (patch) | |
tree | 49b6493dc026db5f046065696be3c2d3b306d53e /ports-mgmt | |
parent | e16adf4d3201676cc0d5288538e1185ea9c44999 (diff) | |
download | freebsd-ports-gnome-f65bcf7d297eac72eede823586c0c54647734b3c.tar.gz freebsd-ports-gnome-f65bcf7d297eac72eede823586c0c54647734b3c.tar.zst freebsd-ports-gnome-f65bcf7d297eac72eede823586c0c54647734b3c.zip |
- Fix portupgrade's shebang patcher.
Reported by: many
Submitted by: knu
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portupgrade-devel/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade-devel/files/patch-bin-Makefile | 11 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-bin-Makefile | 11 |
4 files changed, 24 insertions, 2 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index cafb3745636c..bf1e5ff6326c 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20101123 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= ports-mgmt MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ diff --git a/ports-mgmt/portupgrade-devel/files/patch-bin-Makefile b/ports-mgmt/portupgrade-devel/files/patch-bin-Makefile new file mode 100644 index 000000000000..e2e483d26f07 --- /dev/null +++ b/ports-mgmt/portupgrade-devel/files/patch-bin-Makefile @@ -0,0 +1,11 @@ +--- bin/Makefile.orig 2010-11-24 05:29:20.000000000 +0900 ++++ bin/Makefile 2010-11-24 16:19:06.587423414 +0900 +@@ -28,7 +28,7 @@ + ${RUBY} -pe ' \ + if $$. == 1; \ + if /^#!/; \ +- $$_.sub(/^#!\s*\S*(\benv\s+)?\bruby/, "#!${RUBY}"); \ ++ $$_.sub!(/^#!\s*\S*(\benv\s+)?\bruby/, "#!${RUBY}"); \ + else; \ + $$_ = "#!${RUBY}\n" + $$_; \ + end; \ diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index 04cdf0529043..0a83dcf586b5 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 2.4.8 -PORTREVISION= 0 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= ports-mgmt MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/ diff --git a/ports-mgmt/portupgrade/files/patch-bin-Makefile b/ports-mgmt/portupgrade/files/patch-bin-Makefile new file mode 100644 index 000000000000..e2e483d26f07 --- /dev/null +++ b/ports-mgmt/portupgrade/files/patch-bin-Makefile @@ -0,0 +1,11 @@ +--- bin/Makefile.orig 2010-11-24 05:29:20.000000000 +0900 ++++ bin/Makefile 2010-11-24 16:19:06.587423414 +0900 +@@ -28,7 +28,7 @@ + ${RUBY} -pe ' \ + if $$. == 1; \ + if /^#!/; \ +- $$_.sub(/^#!\s*\S*(\benv\s+)?\bruby/, "#!${RUBY}"); \ ++ $$_.sub!(/^#!\s*\S*(\benv\s+)?\bruby/, "#!${RUBY}"); \ + else; \ + $$_ = "#!${RUBY}\n" + $$_; \ + end; \ |