aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2010-12-14 15:37:08 +0800
committerstas <stas@FreeBSD.org>2010-12-14 15:37:08 +0800
commitf65bcf7d297eac72eede823586c0c54647734b3c (patch)
tree49b6493dc026db5f046065696be3c2d3b306d53e /ports-mgmt
parente16adf4d3201676cc0d5288538e1185ea9c44999 (diff)
downloadfreebsd-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/Makefile2
-rw-r--r--ports-mgmt/portupgrade-devel/files/patch-bin-Makefile11
-rw-r--r--ports-mgmt/portupgrade/Makefile2
-rw-r--r--ports-mgmt/portupgrade/files/patch-bin-Makefile11
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; \