[MacPorts] #34864: Broken links in qt4-mac

MacPorts noreply at macports.org
Thu Jun 14 17:48:28 PDT 2012


#34864: Broken links in qt4-mac
--------------------------------------------+-------------------------------
 Reporter:  mojca.miklavec.lists@…          |       Owner:  macports-tickets@…                   
     Type:  defect                          |      Status:  new                                  
 Priority:  Normal                          |   Milestone:                                       
Component:  ports                           |     Version:  2.1.1                                
 Keywords:                                  |        Port:  qt4-mac                              
--------------------------------------------+-------------------------------

Comment(by michaelld@…):

 Here's the patch that works for me. You can just edit the qt4-mac Portfile
 and add the extra "sed" yourself; or, make a file with this patch and
 apply it. Then you can do "sudo port destroot qt4-mac +framework" to
 verify. I'll need to rev-bump qt4-mac for this change to be effective for
 those using +framework; I'll do that once I know it works and I/we've
 resolve other immediate issues -- try to avoid having to re-build qt4-mac
 any more than necessary 'cause it takes forever.
 {{{
 % svn diff Portfile
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 94313)
 +++ Portfile    (working copy)
 @@ -583,7 +583,8 @@
          # if they are already there first

          foreach fixfile [exec find ${destroot}${qt_frameworks_dir} \
 -                             -name "*.framework"] {
 +                             -name "*.framework" | \
 +                             sed -e "s@${destroot}@@g"] {
              set tf_full [strsed ${fixfile} {s@\\.framework@@}]
              set tf [strsed ${tf_full} {g at .*\/@@}]
              set inc_file ${destroot}${qt_includes_dir}/${tf}
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/34864#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list