1 | --- Portfile.orig 2005-06-26 15:43:02.000000000 -0400 |
---|
2 | +++ Portfile 2005-06-24 11:26:47.000000000 -0400 |
---|
3 | @@ -50,7 +50,10 @@ |
---|
4 | build.target-append libpython.${version}.dylib |
---|
5 | |
---|
6 | variant puredarwin { |
---|
7 | - configure.args-append --disable-toolbox-glue |
---|
8 | + configure.args-delete --enable-framework |
---|
9 | + configure.args-append --disable-toolbox-glue \ |
---|
10 | + --disable-framework |
---|
11 | + destroot.target install |
---|
12 | } |
---|
13 | |
---|
14 | variant no-tk { |
---|
15 | @@ -60,10 +63,15 @@ |
---|
16 | } |
---|
17 | |
---|
18 | post-destroot { |
---|
19 | + if {[variant_isset puredarwin]} { |
---|
20 | + set py_destroot_libs ${destroot}${prefix}/lib |
---|
21 | + } else { |
---|
22 | + set py_destroot_libs ${destroot}/Library/Frameworks/Python.framework/Libraries |
---|
23 | system "cd ${destroot}/Library/Frameworks/Python.framework/ && \ |
---|
24 | ln -s Versions/Current/lib Libraries" |
---|
25 | - system "cd ${destroot}/Library/Frameworks/Python.framework/Libraries && \ |
---|
26 | - ln -s libpython.2.4.1.dylib libpython.2.4.dylib && \ |
---|
27 | - ln -s libpython.2.4.1.dylib libpython.2.dylib && \ |
---|
28 | - ln -s libpython.2.4.1.dylib libpython.dylib" |
---|
29 | + } |
---|
30 | + system "cd ${py_destroot_libs} && \ |
---|
31 | + ln -s libpython.2.4.1.dylib libpython.2.4.dylib && \ |
---|
32 | + ln -s libpython.2.4.1.dylib libpython.2.dylib && \ |
---|
33 | + ln -s libpython.2.4.1.dylib libpython.dylib" |
---|
34 | } |
---|