Ticket #42776: installer-core_install.py.patch

File installer-core_install.py.patch, 1.0 KB (added by okmacports@…, 11 years ago)
  • installer/core_install.py

    old new  
    780780
    781781
    782782    def check_libpthread(self):
    783         return check_lib("libpthread") and check_file("pthread.h")
     783#        return check_lib("libpthread") and check_file("pthread.h")
     784        return True #built-in for Darwin
    784785
    785786
    786787    def check_libnetsnmp(self):
     
    939940
    940941
    941942    def check_cups_devel(self):
     943        return True
    942944        return check_file('cups.h') and bool(utils.which('lpr'))
    943945
    944946
    945947    def check_cups(self):
     948        return True
    946949        status, output = utils.run('lpstat -r', self.passwordObj)
    947950        if status > 0 or 'not running' in output:
    948951            log.debug("CUPS is not running. %s"%output)
     
    963966
    964967    def check_libtool(self):
    965968        log.debug("Checking for libtool...")
    966         return check_tool('libtool --version')
     969#        return check_tool('libtool --version')
     970        return check_tool('libtool -V')
    967971
    968972
    969973    def check_pil(self):