[MacPorts] #26034: qt4-mac fails on Tiger: find: 1: unknown expression primary

MacPorts noreply at macports.org
Tue Aug 10 20:21:55 PDT 2010


#26034: qt4-mac fails on Tiger: find: 1: unknown expression primary
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  michaelld@…           
     Type:  defect                   |      Status:  new                   
 Priority:  Normal                   |   Milestone:                        
Component:  ports                    |     Version:  1.9.1                 
 Keywords:                           |        Port:  qt4-mac               
-------------------------------------+--------------------------------------

Comment(by michaelld@…):

 Go figure about 'find' ...  Looks like 'glob' will work, though that
 involves 2 steps instead of the 1 I had :(  I think the following will
 work; I'll test tomorrow.
 {{{
         foreach frms [glob -type d -directory ${destroot}${qt_dir}/lib \
                           *.framework] {
             set tfm [exec echo ${frms} | \
                          sed -e "s@\[^ \]*/\\(\[^
 \]*\\)\\.framework.*@\\1@"]
 }}}
 I'm trying to avoid using 'ls' since it generates an error if it finds
 nothing, though in this case there had darn better be *.framework
 directories since it's a framework build ...

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


More information about the macports-tickets mailing list