summaryrefslogtreecommitdiff
path: root/irc/ratbox-services/files/patch-tools_dbupgrade.pl
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-28 01:03:41 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-28 01:03:41 +0000
commit261936f816ba21bbd02ea311453a3e5b3781f410 (patch)
treed9f697d4441d4e0e61ecfa89d19a8d96d99f6165 /irc/ratbox-services/files/patch-tools_dbupgrade.pl
parent[patch] port update for irc/ircd-ratbox (diff)
[patch] port update for irc/ircd-ratbox
Update of irc/ircd-ratbox port from ircd-ratbox-2.2.5 to ircd-ratbox-2.2.6 [patch] port upgrade for irc/ratbox-services Update of irc/ratbox-services port from ratbox-services-1.0.3 to ratbox-services-1.1.2 Removal of irc/ircd-ratbox-devel The ircd-ratbox-devel port is depreciated and installs an out-dated version of ircd-ratbox. There is no current development release of ircd-ratbox; please could this port be deleted as the ratbox team are some time away from releasing a new development version. [Note that irc/ircd-ratbox-devel was synced with irc/ircd-ratbox] PR: ports/115950, ports/116156, ports/116158 Submitted by: Lewis <moggie@elasticmind.net> Approved by: shaun@
Notes
Notes: svn path=/head/; revision=200245
Diffstat (limited to 'irc/ratbox-services/files/patch-tools_dbupgrade.pl')
-rw-r--r--irc/ratbox-services/files/patch-tools_dbupgrade.pl23
1 files changed, 23 insertions, 0 deletions
diff --git a/irc/ratbox-services/files/patch-tools_dbupgrade.pl b/irc/ratbox-services/files/patch-tools_dbupgrade.pl
new file mode 100644
index 000000000000..8ada4c52e9a4
--- /dev/null
+++ b/irc/ratbox-services/files/patch-tools_dbupgrade.pl
@@ -0,0 +1,23 @@
+--- ./tools/dbupgrade.pl.orig Fri Aug 24 13:01:39 2007
++++ ./tools/dbupgrade.pl Fri Aug 24 13:38:23 2007
+@@ -27,9 +27,9 @@
+ exit;
+ }
+
+-unless(-r "../include/setup.h")
++unless(-r "%%PREFIX%%/include/setup.h")
+ {
+- print("Unable to read ../include/setup.h, please run configure first\n");
++ print("Unable to read %%PREFIX%%/include/setup.h, please run configure first\n");
+ exit();
+ }
+
+@@ -71,7 +71,7 @@
+ }
+ else
+ {
+- %vals = &parse_includes("../include");
++ %vals = &parse_includes("%%PREFIX%%/include");
+ }
+
+ while(my ($key, $value) = each(%vals))