+# +------------------------------------+
+# | Inspire Internet Relay Chat Daemon |
+# +------------------------------------+
+#
+# InspIRCd: (C) 2002-2007 InspIRCd Development Team
+# See: http://www.inspircd.org/wiki/index.php/Credits
+#
+# This program is free but copyrighted software; see
+# the file COPYING for details.
+#
+# ---------------------------------------------------
+
package make::utilities;
+
+require 5.8.0;
+
use Exporter 'import';
use POSIX;
use Getopt::Long;
chomp($replace);
$line =~ s/exec\("(.+?)"\)/$replace/;
}
+ while ($line =~ /execruntime\("(.+?)"\)/)
+ {
+ $line =~ s/execruntime\("(.+?)"\)/`\1`/;
+ }
while ($line =~ /eval\("(.+?)"\)/)
{
print "Evaluating perl code for module \033[1;32m$module\033[0m ... ";
while ($line =~ /rpath\("(.+?)"\)/)
{
my $replace = make_rpath($1,$module);
+ $replace = "" if ($^O =~ /darwin/i);
$line =~ s/rpath\("(.+?)"\)/$replace/;
}
};