Changeset 54054


Ignore:
Timestamp:
Jul 19, 2009, 11:47:52 PM (10 years ago)
Author:
dh@…
Message:

Two fixes to broken port, fixing ticket #20184

  • upgrade to 4.5.2 to incorporate upstream's fix to licence check
  • patch configure.py to ensure qtdesigner can link, now that qt4-mac is no longer configured with explicit -L flags

Not waiting for maintainer as port is currently non functional

Location:
trunk/dports/python/py26-pyqt4
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py26-pyqt4/Portfile

    r53332 r54054  
     1# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    12# $Id$
    23
     
    45
    56name            py26-pyqt4
    6 version         4.5.1
     7version         4.5.2
    78categories      python devel
    89platforms       macosx
     
    1920distname        PyQt-mac-gpl-${version}
    2021
    21 checksums md5    6183de3147c7b7ada195f98c781e09a9 \
    22           sha1   073d8a60079086ab3377a93e14acabeeba76004f \
    23           rmd160 5ce46cfbc2ba70f7c8d953f1999ae6e0f92b02b8
     22checksums md5    158a7a0804ce2fbc748a9a41105e34fe \
     23          sha1   4fa04583829927a6bacba90adb9fabee682b3a7b \
     24          rmd160 9a766254813bee83ccb923f4cae08dc084ee0927
    2425
    2526depends_lib     port:py26-sip port:qt4-mac
    2627
    27 #patchfiles     patch-configure.py
    28 
    2928set pyversion 2.6
    3029set qt_dir      ${prefix}/libexec/qt4-mac
     30
     31# The patch file alters configure.py so that the qtdesigner plugin can link.
     32# - it ensures that both LFLAGS are included and that the relevant version framework is linked
     33patchfiles      patch-configure.py
     34post-patch {
     35    reinplace "s|@@MACPORTS_PYTHON_FRAMEWORK@@|${frameworks_dir}/Python.framework/Versions/${pyversion}/Python|" ${worksrcpath}/configure.py
     36}
    3137
    3238pre-configure {
     
    4753
    4854build.target    all
     55use_parallel_build yes
    4956
    5057test.run        yes
Note: See TracChangeset for help on using the changeset viewer.