Ticket #10953: py-sip-patch.txt

File py-sip-patch.txt, 739 bytes (added by blair (Blair Zajac), 17 years ago)
Line 
1diff -ru /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python/py-sip/Portfile python/py-sip/Portfile
2--- /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python/py-sip/Portfile 2006-08-29 22:18:52.000000000 -0700
3+++ python/py-sip/Portfile      2006-10-27 18:06:33.000000000 -0700
4@@ -32,7 +32,10 @@
5                                -e ${prefix}/include/python2.4 \
6                                -v ${prefix}/share/sip \
7                                -p macx-g++
8-configure.post_args    LFLAGS=-L${prefix}/lib
9+configure.post_args    LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib"
10+
11+test.run       yes
12+test.cmd       cd siplib && ${prefix}/bin/python2.4 -c 'import sip'
13 
14 post-destroot {
15        xinstall -m 755 -d ${destroot}/${prefix}/share/doc
16Only in python/py-sip: work