Ticket #30020: Portfile.diff

File Portfile.diff, 1.2 KB (added by othalan@…, 10 years ago)
Line 
1*** Portfile.orig       2015-03-02 12:42:49.000000000 -0300
2--- Portfile    2015-03-02 12:41:10.000000000 -0300
3***************
4*** 32,45 ****
5  conflicts     py26-sip
6  depends_lib   port:python26
7 
8! patchfiles      patch-siputils.py.diff
9 
10  configure.cmd ${prefix}/bin/python2.6 configure.py
11  configure.pre_args  -d ${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages \
12                                -e ${prefix}/include/python2.6 \
13                                -v ${prefix}/share/sip \
14                                -p macx-g++
15! configure.post_args   LFLAGS="-F${frameworks_dir} -L${prefix}/lib"
16 
17  test.run      yes
18  test.cmd      cd siplib && ${prefix}/bin/python2.6 -c 'import sip'
19--- 32,46 ----
20  conflicts     py26-sip
21  depends_lib   port:python26
22 
23! patchfiles      patch-siputils.py.diff \
24!                 patch-configure.py.diff
25 
26  configure.cmd ${prefix}/bin/python2.6 configure.py
27  configure.pre_args  -d ${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages \
28                                -e ${prefix}/include/python2.6 \
29                                -v ${prefix}/share/sip \
30                                -p macx-g++
31! configure.post_args   LFLAGS="-F${frameworks_dir} -L${prefix}/lib -L ${frameworks_dir}/Python.framework/Versions/2.6/lib -lpython2.6"
32 
33  test.run      yes
34  test.cmd      cd siplib && ${prefix}/bin/python2.6 -c 'import sip'