Ticket #49109: py-pyqt4.diff

File py-pyqt4.diff, 1.2 KB (added by RJVB (René Bertin), 8 years ago)

not so much an update to concurrent qt4-mac but a fix for the depends_lib reset caused by the Python PortGroup

  • Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
     2# $Id: Portfile 139661 2015-08-23 22:36:34Z ionic@macports.org $
    23# $Id: Portfile 140993 2015-10-07 16:58:42Z michaelld@macports.org $
    34
    45PortSystem      1.0
    56PortGroup       qt4 1.0
     7set depends_lib_backup \
     8                ${depends_lib}
    69PortGroup       python 1.0
    710
    811name            py-pyqt4
     
    3033python.versions 27 34 35
    3134python.default_version 27
    3235
     36# at this point, the python portgroup will have reset depends_lib (python.versions does that),
     37depends_lib-append \
     38                ${depends_lib_backup}
     39
    3340foreach py_ver ${python.versions} {
    3441    subport py${py_ver}-pyqt4-devel {}
    3542    subport py${py_ver}-pyqt4 {}
     
    7481    dist_subdir        python
    7582
    7683    depends_lib-append port:py${python.version}-sip \
    77                        port:qt4-mac \
    7884                       port:dbus-python${python.version}
    7985
    8086    # patch-configure.py* file alters configure.py so that the