ports/net/rtg/files/patch-etc_95.pl
Mathieu Arnold 3b0d4c8935 Revert r484406, it was never approved.
Pointy hat:	mfechner
With hat:	portmgr
2018-11-07 20:24:10 +00:00

11 lines
451 B
Perl

--- etc/95.pl.orig 2016-11-04 16:36:01 UTC
+++ etc/95.pl
@@ -31,7 +31,7 @@ $pass="rtgdefault";
$onedaysec=60*60*24;
# Default locations to find RTG configuration file
-@configs = ("rtg.conf", "/usr/local/rtg/etc/rtg.conf", "/etc/rtg.conf");
+@configs = ("rtg.conf", "%%PREFIX%%/etc/rtg/rtg.conf", "/usr/local/rtg/etc/rtg.conf", "/etc/rtg.conf");
foreach $conf (@configs) {
if (open CONF, "<$conf") {
print "Reading [$conf].\n" if $DEBUG;