[Lunar-commits] <moonbase-other> exim: added a fix for missing symlink /bin/rm

Terry Chan tchan at lunar-linux.org
Sun Jul 22 17:01:28 CEST 2012


commit d70297f1e951e82221ec74cf37a6066b06a6469b
Author: Terry Chan <tchan at lunar-linux.org>
Date: Sun, 22 Jul 2012 08:01:28 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/d70297f1e951e82221ec74cf37a6066b06a6469b

exim: added a fix for missing symlink /bin/rm
---
  mail/exim/BUILD                                              +5/-0     
  1 files changed, 5 insertions (+), 0 deletions (-)

--- a/mail/exim/BUILD
+++ b/mail/exim/BUILD
@@ -49,6 +49,11 @@ if module_installed tcp_wrappers ; then
   echo  "LOOKUP_NIS=yes"                   >>  Local/Makefile
   echo  "SUPPORT_MAILDIR=yes"              >>  Local/Makefile
 
+  # for systems without /bin -> /usr/bin symlink
+  if [ "`cd /usr/bin; pwd -P`" != "`cd /bin; pwd -P`" ]; then
+    ln -sf /usr/bin/rm /bin/rm
+  fi
+  
   default_make
 
 ) > $C_FIFO 2>&1  &&  (




More information about the Lunar-commits mailing list