ports/net/foreman-proxy/files/patch-bin-smart-proxy
2014-12-04 10:45:24 +00:00

10 lines
389 B
Text

--- bin/smart-proxy.orig 2014-12-04 11:24:23.964747068 +0100
+++ bin/smart-proxy 2014-12-04 11:24:26.244762141 +0100
@@ -1,6 +1,7 @@
#!/usr/bin/env ruby
$LOAD_PATH.unshift(*Dir[File.expand_path("../../lib", __FILE__), File.expand_path("../../modules", __FILE__)])
+$LOAD_PATH.unshift(*Dir["%%DATADIR%%/lib", "%%DATADIR%%/modules"])
require 'smart_proxy'
Proxy::Launcher.new.launch