[MacPorts] #22144: "staging amarok into destroot" fails.

MacPorts noreply at macports.org
Sat Jan 30 18:49:10 PST 2010


#22144: "staging amarok into destroot" fails.
----------------------------------+-----------------------------------------
 Reporter:  blamefrost@…          |       Owner:  illogic-al@…           
     Type:  defect                |      Status:  new                    
 Priority:  Normal                |   Milestone:                         
Component:  ports                 |     Version:  1.8.1                  
 Keywords:                        |        Port:  amarok                 
----------------------------------+-----------------------------------------

Comment(by oroboros@…):

 Replying to [comment:22 3xtr3m@…]:

 > I tried to compile amarok 2.2.0 and it has the same issue....

 Yup, just tried it on a new Macbook and it still fails in the same place.
 The portfile has to be fixed.

 Edit
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/kde/amarok/Portfile
 and change lines 42 and 43 from this:

 {{{
        system "mv ${destroot}${prefix}/bin/amarok.app/Contents/Resources/*
 ${destroot}${applications_dir}/KDE4/Amarok.app/Contents/Resources/"
        system "rm -rf ${destroot}${prefix}/bin"
 }}}

 to this:

 {{{
 #       system "mv
 ${destroot}${prefix}/bin/amarok.app/Contents/Resources/*
 ${destroot}${applications_dir}/KDE4/Amarok.app/Contents/Resources/"
 #       system "rm -rf ${destroot}${prefix}/bin"
 }}}

 Looks like a quick fix to the portfile, since the underlying source distro
 now creates the application bundle correctly. Let me know if you need a
 patch.

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


More information about the macports-tickets mailing list