ports/irc/ratbox-services/files/patch-tools_dbupgrade.pl
Edwin Groothuis 261936f816 [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@
2007-09-28 01:03:41 +00:00

23 lines
553 B
Raku

--- ./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))