1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/databases/opentsdb/files/patch-src_utils_Config.java
Mathieu Arnold 13544abd94 Fix build as a user. Again.
While there, make the port prefix safe, again.

Sponsored by:	Absolight
2016-02-22 20:13:01 +00:00

11 lines
379 B
Java

--- src/utils/Config.java.orig 2016-02-15 22:56:56 UTC
+++ src/utils/Config.java
@@ -562,6 +562,7 @@ public class Config {
} else {
file_locations.add("/etc/opentsdb.conf");
file_locations.add("/etc/opentsdb/opentsdb.conf");
+ file_locations.add("%%PREFIX%%/etc/opentsdb/opentsdb.conf");
file_locations.add("/opt/opentsdb/opentsdb.conf");
}