[MacPorts] #20808: mplayer-devel fails to build on 10.6

MacPorts noreply at macports.org
Wed Oct 28 15:59:43 PDT 2009


#20808: mplayer-devel fails to build on 10.6
------------------------------+---------------------------------------------
  Reporter:  andrea@…         |       Owner:  acho@…           
      Type:  defect           |      Status:  closed           
  Priority:  Normal           |   Milestone:                   
 Component:  ports            |     Version:  1.8.99           
Resolution:  fixed            |    Keywords:  snowleopard      
      Port:  mplayer-devel    |  
------------------------------+---------------------------------------------

Comment(by ecronin@…):

 fair point.  Does moving it to pre-configure for all platforms/versions
 seem better:

 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 59993)
 +++ Portfile    (working copy)
 @@ -82,6 +82,14 @@

  patchfiles configure.x11.patch

 +pre-configure {
 +    if { ${configure.build_arch} == "x86_64" } {
 +        configure.args-append   --target=x86_64-Darwin
 +    } elseif { ${configure.build_arch} == "i386" } {
 +        configure.args-append   --target=i386-Darwin
 +    }
 +}
 +
  post-destroot {
      xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
      eval file copy [glob ${worksrcpath}/DOCS/*] \
 @@ -270,11 +278,6 @@
  }

  platform darwin 10 {
 -    if { ${configure.build_arch} == "x86_64" } {
 -        configure.args-append   --target=x86_64-Darwin
 -    } elseif { ${configure.build_arch} == "i386" } {
 -        configure.args-append   --target=i386-Darwin
 -    }
      configure.args-append   --disable-qtx
      configure.args-delete   --enable-qtx
  }
 }}}

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


More information about the macports-tickets mailing list