aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2004-12-28 15:18:02 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2004-12-28 15:18:02 +0000
commit61a77c177d648e0112722aa7730e057d7359af4c (patch)
tree8faf87759a37a0bdf74b03f0d90fe16bac635698 /ports-mgmt
parent9f5b74992b9ed60b73f68f2af3bab19d9d1c0b38 (diff)
downloadports-61a77c177d648e0112722aa7730e057d7359af4c.tar.gz
ports-61a77c177d648e0112722aa7730e057d7359af4c.zip
Fix the startup script for 4.x.
Submitted by: <Nicole Thurner <thurners -at- t-online.de>
Notes
Notes: svn path=/head/; revision=125343
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade-devel/files/patch-etc-Makefile14
-rw-r--r--ports-mgmt/portupgrade/files/patch-etc-Makefile14
2 files changed, 28 insertions, 0 deletions
diff --git a/ports-mgmt/portupgrade-devel/files/patch-etc-Makefile b/ports-mgmt/portupgrade-devel/files/patch-etc-Makefile
new file mode 100644
index 000000000000..31f27de19fec
--- /dev/null
+++ b/ports-mgmt/portupgrade-devel/files/patch-etc-Makefile
@@ -0,0 +1,14 @@
+Index: etc/Makefile
+===================================================================
+--- etc/Makefile (リビジョン 1049)
++++ etc/Makefile (作業コピー)
+@@ -32,7 +32,8 @@
+ ${script}: ${script:T}
+ @mkdir -p ${BUILDDIR}
+ ${RUBY} -p \
+- -e 'sub %r:/usr/local:, "${PREFIX}"' \
++ -e 'sub(%r:/usr/local:, "${PREFIX}")' \
++ -e 'sub(%r:(/etc/rc\.subr):, "${PREFIX}\\1") if !File.exist?("/etc/rc.subr")' \
+ ${.ALLSRC} > ${.TARGET}
+ .endfor
+
diff --git a/ports-mgmt/portupgrade/files/patch-etc-Makefile b/ports-mgmt/portupgrade/files/patch-etc-Makefile
new file mode 100644
index 000000000000..31f27de19fec
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-etc-Makefile
@@ -0,0 +1,14 @@
+Index: etc/Makefile
+===================================================================
+--- etc/Makefile (リビジョン 1049)
++++ etc/Makefile (作業コピー)
+@@ -32,7 +32,8 @@
+ ${script}: ${script:T}
+ @mkdir -p ${BUILDDIR}
+ ${RUBY} -p \
+- -e 'sub %r:/usr/local:, "${PREFIX}"' \
++ -e 'sub(%r:/usr/local:, "${PREFIX}")' \
++ -e 'sub(%r:(/etc/rc\.subr):, "${PREFIX}\\1") if !File.exist?("/etc/rc.subr")' \
+ ${.ALLSRC} > ${.TARGET}
+ .endfor
+