[MacPorts] #27009: liblastfm : configure : no variable qtdir

MacPorts noreply at macports.org
Tue Oct 26 03:14:59 PDT 2010


#27009: liblastfm : configure : no variable qtdir
----------------------------------+-----------------------------------------
 Reporter:  develop@…             |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.1                                
 Keywords:  qtdir                 |        Port:  liblastfm                            
----------------------------------+-----------------------------------------
 Hi guys,

 {{{
 :info:configure Good, your configure is finished! Now type: make
 :debug:configure Executing proc-post-org.macports.configure-configure-0
 :error:configure Target org.macports.configure returned: can't read
 "qtdir": no such variable
 :debug:configure Backtrace: can't read "qtdir": no such variable
     while executing
 "$post $targetname"
 }}}

 I saw in the devel list ([http://lists.macosforge.org/pipermail/macports-
 dev/2010-October/013052.html]) that André Kaplan modified the portfile
 recently to clean qtdir variable declaration.
 But in the post-configure part there is still a call to the variable
 qtdir. :

 {{{
 post-configure {
     # create Makefile's, then patch them to remove a flaw made by qmake.
     # (1) find subdir Makefile names from top-level Makefile, and have
     # 'make' create each in turn.
     foreach tMf [exec grep -e "Makefile\[\^ \]\*:" ${worksrcpath}/Makefile
 | \
                      sed -e "s@\\(\[^ \]*/Makefile\[^ \]*\\):\[^
 \]*@\\1 at g"] {
         system "cd ${worksrcpath} && PATH=${qtdir}/bin:$env(PATH) make
 ${tMf}"
     }

     # (2) find all created Makefile*'s, and reinplace the offending flaw
     foreach tMf [exec find ${worksrcpath} -name "Makefile*"] {
         reinplace "s@\\(-arch \[^ \]*\\) -arch@\\1@" ${tMf}
     }
 }
 }}}

 So this step fails.

 Sorry to not helping resolve the problem, I'm not skilled enough.
 Please Andre what can we do?

 Thanks

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


More information about the macports-tickets mailing list