Ticket #42776: installer-dcheck.py.patch

File installer-dcheck.py.patch, 822 bytes (added by okmacports@…, 11 years ago)
  • installer/dcheck.py

    old new  
    4646def update_ld_output():
    4747    # For library checks
    4848    global ld_output
    49     status, ld_output = utils.run('%s -p' % os.path.join(utils.which('ldconfig'), 'ldconfig'), log_output=False)
     49#    status, ld_output = utils.run('%s -p' % os.path.join(utils.which('ldconfig'), 'ldconfig'), log_output=False)
     50    status, ld_output = utils.run('%s /opt/local/lib' % os.path.join(utils.which('find'), 'find'), log_output=False)
    5051
    5152    if status != 0:
    5253        log.debug("ldconfig failed.")
     
    355356         return Image.VERSION
    356357
    357358def get_libpthread_version():
     359    return '-' #built-in for Darwin
    358360    try:
    359361        import sys, ctypes, ctypes.util
    360362    except ImportError: