Ticket #27261: py-pyqt4_Portfile_2.8.1_ccache.diff
File py-pyqt4_Portfile_2.8.1_ccache.diff, 1.5 KB (added by michaelld (Michael Dickens), 14 years ago) |
---|
-
Portfile
5 5 PortGroup qt4 1.0 6 6 7 7 name py-pyqt4 8 version 4.7.7 9 revision 1 8 version 4.8.1 10 9 platforms macosx 11 10 categories python devel 12 11 maintainers gmail.com:tim.stoop … … 21 20 http://pyqwt.sourceforge.net/support/ 22 21 distname PyQt-mac-gpl-${version} 23 22 24 checksums md5 1 8213126857b7c6e6da6f7a1720d4870\25 sha1 e07f851b54fa5cf6ec3e146f07b1c234c5069ca3\26 rmd160 fe1a01ce93a012224a4c590b56dc3bfa8fcdbe7423 checksums md5 177fa10c6420d6f7fc745478fa64304a \ 24 sha1 55a448993fc011f886fd2d375e0748d1baae39eb \ 25 rmd160 517cf7c3ac589b962a47dfa9410683f135e9b980 27 26 28 27 depends_lib-append port:py-sip 29 28 … … 35 34 36 35 reinplace "s|-bundle|-bundle -flat_namespace -undefined suppress|" \ 37 36 ${worksrcpath}/qmake.conf 37 38 # allow ccache, if specified by the user 39 if {[tbool configure.ccache]} { 40 configure.env-append "CCACHE=ccache" 41 } 38 42 } 39 43 40 44 configure.cmd "${prefix}/bin/python2.4 configure.py \ … … 43 47 configure.pre_args 44 48 configure.post_args LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib" 45 49 50 # allow ccache, if specified by the user 51 pre-build { 52 if {[tbool configure.ccache]} { 53 build.post_args "CCACHE=ccache" 54 } 55 } 56 46 57 test.run yes 47 58 test.cmd cd qt && ${prefix}/bin/python2.4 -c 'import PyQt4' 48 59