Files
pkgsrc-ng/net/smokeping/patches/patch-ab
2013-09-26 17:14:40 +02:00

14 lines
369 B
Plaintext

$NetBSD: patch-ab,v 1.11 2012/02/02 18:54:35 bouyer Exp $
--- bin/smokeping_cgi.orig 2012-02-02 15:12:05.000000000 +0100
+++ bin/smokeping_cgi 2012-02-02 15:12:35.000000000 +0100
@@ -18,7 +18,7 @@
use CGI::Fast;
-my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
+my $cfg = (shift @ARGV) || "@PKG_SYSCONFDIR@/config";
while (my $q = new CGI::Fast) {