Add MacPorts' path to the default openssl search path

Closes #101
This commit is contained in:
Jonas Borgström 2014-08-01 14:48:49 +02:00
parent 1b0e21b95a
commit 0741aef880
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ Version 0.14
(feature release, released on X)
- Add MacPorts' path to the default openssl search path (#101)
- HashIndex improvements, eliminates unnecessary IO on low memory systems.
Version 0.13

View File

@ -68,7 +68,7 @@ def detect_openssl(prefixes):
return prefix
possible_openssl_prefixes = ['/usr', '/usr/local', '/usr/local/opt/openssl', '/usr/local/ssl', '/usr/local/openssl', '/usr/local/attic']
possible_openssl_prefixes = ['/usr', '/usr/local', '/usr/local/opt/openssl', '/usr/local/ssl', '/usr/local/openssl', '/usr/local/attic', '/opt/local']
if os.environ.get('ATTIC_OPENSSL_PREFIX'):
possible_openssl_prefixes.insert(0, os.environ.get('ATTIC_OPENSSL_PREFIX'))
ssl_prefix = detect_openssl(possible_openssl_prefixes)