aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-12-28 23:18:02 +0800
committerknu <knu@FreeBSD.org>2004-12-28 23:18:02 +0800
commitaacf06026a712f348e034278ef946f748ecb2523 (patch)
treee76d95876744fe711097c4ef6163f9b642e0bab8
parent0c587e779cfe6692c4fe6b1f791c529a2ac795b3 (diff)
downloadfreebsd-ports-gnome-aacf06026a712f348e034278ef946f748ecb2523.tar.gz
freebsd-ports-gnome-aacf06026a712f348e034278ef946f748ecb2523.tar.zst
freebsd-ports-gnome-aacf06026a712f348e034278ef946f748ecb2523.zip
Fix the startup script for 4.x.
Submitted by: <Nicole Thurner <thurners -at- t-online.de>
-rw-r--r--ports-mgmt/portupgrade-devel/files/patch-etc-Makefile14
-rw-r--r--ports-mgmt/portupgrade/files/patch-etc-Makefile14
-rw-r--r--sysutils/portupgrade-devel/files/patch-etc-Makefile14
-rw-r--r--sysutils/portupgrade/files/patch-etc-Makefile14
4 files changed, 56 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
+
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
+