freebsd-ports/net-mgmt/smokeping/files/patch-bin-tSmoke
Guido Falsi d2ef11eee6 - Fix build and install
- Assign maintainership to submitter

Also merged fixes by dikshie <dikshie@sfc.wide.ad.jp> (ports/162460).

PR:		ports/167868
Submitted by:	Rodrigo OSORIO <rodrigo@bebik.net>
Approved by:	crees (mentor)
2012-05-14 15:03:12 +00:00

21 lines
527 B
Text

--- bin/tSmoke.orig 2012-05-14 14:54:55.388873689 +0200
+++ bin/tSmoke 2012-05-14 14:56:15.881875827 +0200
@@ -53,8 +53,7 @@
# Point the lib variables to your implementation
use FindBin;
# PERL5LIB
-use lib "$FindBin::Bin/../thirdparty/lib/perl5";
-use lib "$FindBin::Bin/../lib";
+use lib "%%PREFIX%%/smokeping/lib";
use Smokeping;
use Net::SMTP;
@@ -63,7 +62,7 @@
use RRDs;
# Point to your Smokeping config file
-my $cfgfile = "etc/config.dist";
+my $cfgfile = "%%ETCDIR%%/config";
# global variables
my $cfg;