You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
f4fe30ba5d
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@119591 d073be05-634f-4543-b044-5fe20cf6d1d6
13 lines
493 B
Diff
13 lines
493 B
Diff
--- setup.py.orig 2014-03-02 14:53:04.000000000 -0500
|
|
+++ setup.py 2014-03-02 14:54:45.000000000 -0500
|
|
@@ -98,6 +98,9 @@
|
|
if len(results) == 0:
|
|
results = glob.glob(os.path.join('/', 'usr', 'local', 'include', 'tsk*'))
|
|
|
|
+if len(results) == 0:
|
|
+ results = glob.glob(os.path.join(os.environ['TSK_HEADERS_PATH'], 'tsk*'))
|
|
+
|
|
# If the headers are not found in the usual places check the parent directory.
|
|
if len(results) == 0:
|
|
results = glob.glob(os.path.join('..', 'sleuthkit*', 'tsk*'))
|