Python+expat -> libglade2

Auke Kok sofar at lunar-linux.org
Sat Jul 19 19:14:27 GMT 2003


since there is no DEPENDS for Python, the following is utter nonsence
and will always result in a Python BUILD:

libglade2/BUILD:
if module_installed Python; then
   if ! grep -q "^Python\:expat\:on" $DEPENDS_STATUS; then

      message libglade2 requires an expat-enabled Python

      rm -f /var/lock/installing.$MODULE
      
      if ! module_installed expat &&
         ! module_held expat   
      then lin expat || exit 1
      fi
      remove_depends Python
      lin -c Python || exit 1
      
      echo $$ > /var/lock/installing.$MODULE 
   fi
fi

default_pre_build

can this be fixed?

(note: running lin from PRE_BUILD is not a good idea! I have never seen
this before and I guarantee it will cause big problems...)

sofar


-- 
Auke Kok <sofar at lunar-linux.org>



More information about the Lunar-dev mailing list