1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/irc/ratbox-services/files/patch-tools_generate-schema.pl
Beech Rintoul 8bf7d6ac01 - Update to 1.2.0
Some port changes include:
o Removed port dependency on patch files.
o Added LIB_DEPENDS for requiring pcre to build services.
o Added CONFIGURE_ENV options to help configure detect sqlite and pcre libs and header files.
o Added PERL dependency for database schema generation scripts on port installation.
o Added new Memoserv configure options.
o Restored MySQL database backend support.
o Fixed build error caused when building with 'NOPORTDOCS=yes'.

Brief list of some package changes:
o Multi-language support - Support for different language translations of services help files and
responses (currently not recommended in this release).
o Memoserv - A new service allowing usernames to send memos to each other.
o Service merging - Ability to merge services like banserv, jupeserv and watchserv into operserv.
o Regexp - Ability to add regular expression ban matches.
o Suspend - Ability to suspend users and channels.

PR:		ports/125035
Submitted by:	Lewis <moggie@elasticmind.net> (maintainer)
2008-07-02 22:28:13 +00:00

18 lines
625 B
Raku

--- ./tools/generate-schema.pl.orig 2006-09-09 16:41:27.000000000 +0100
+++ ./tools/generate-schema.pl 2008-06-26 15:36:23.000000000 +0100
@@ -15,11 +15,11 @@
my @schemas = ("base/schema-mysql.txt", "base/schema-pgsql.txt");
my @plain_schemas = ("base/schema-sqlite.txt");
-my %vals = &parse_includes("../include");
+my %vals = &parse_includes("%%PREFIX%%/include");
-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();
}