aboutsummaryrefslogtreecommitdiff
path: root/sysutils
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 /sysutils
parent9f5b74992b9ed60b73f68f2af3bab19d9d1c0b38 (diff)
downloadports-61a77c177d648e0112722aa7730e057d7359af4c.tar.gz
ports-61a77c177d648e0112722aa7730e057d7359af4c.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/portupgrade-devel/files/patch-etc-Makefile14
-rw-r--r--sysutils/portupgrade/files/patch-etc-Makefile14
2 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/portupgrade-devel/files/patch-etc-Makefile b/sysutils/portupgrade-devel/files/patch-etc-Makefile
new file mode 100644
index 000000000000..31f27de19fec
--- /dev/null
+++ b/sysutils/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/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
+