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 780 780 781 781 782 782 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 784 785 785 786 786 787 def check_libnetsnmp(self): … … 939 940 940 941 941 942 def check_cups_devel(self): 943 return True 942 944 return check_file('cups.h') and bool(utils.which('lpr')) 943 945 944 946 945 947 def check_cups(self): 948 return True 946 949 status, output = utils.run('lpstat -r', self.passwordObj) 947 950 if status > 0 or 'not running' in output: 948 951 log.debug("CUPS is not running. %s"%output) … … 963 966 964 967 def check_libtool(self): 965 968 log.debug("Checking for libtool...") 966 return check_tool('libtool --version') 969 # return check_tool('libtool --version') 970 return check_tool('libtool -V') 967 971 968 972 969 973 def check_pil(self):