aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/portupgrade')
-rw-r--r--sysutils/portupgrade/files/patch-etc-Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/portupgrade/files/patch-etc-Makefile b/sysutils/portupgrade/files/patch-etc-Makefile
new file mode 100644
index 000000000000..31f27de19fec
--- /dev/null
+++ b/sysutils/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
+