]> git.cworth.org Git - sup/commitdiff
add libc message for BSD users
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Thu, 9 Apr 2009 19:26:28 +0000 (15:26 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Thu, 9 Apr 2009 19:26:28 +0000 (15:26 -0400)
bin/sup

diff --git a/bin/sup b/bin/sup
index e4b28d8c826f1caa5f3000cd713c36ebd5dab92e..cbcee54ea40b995510e369a1b3a292ee92baf427 100644 (file)
--- a/bin/sup
+++ b/bin/sup
@@ -105,6 +105,9 @@ module LibC
   rescue RuntimeError => e
     Redwood::log "cannot dlload setlocale(); ncurses wide character support probably broken."
     Redwood::log "dlload error was #{e.class}: #{e.message}"
+    if Config::CONFIG['arch'] =~ /bsd/
+      Redwood::log "BSD variant detected. You may have to install a compat6x package to acquire libc."
+    end
   end
 end