diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2004-12-28 15:18:02 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2004-12-28 15:18:02 +0000 |
commit | 61a77c177d648e0112722aa7730e057d7359af4c (patch) | |
tree | 8faf87759a37a0bdf74b03f0d90fe16bac635698 /ports-mgmt/portupgrade | |
parent | 9f5b74992b9ed60b73f68f2af3bab19d9d1c0b38 (diff) | |
download | ports-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/portupgrade')
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-etc-Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
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 + |