[MacPorts] #18000: ASFRecorder 1.1_0 invalid command name "cd"

MacPorts noreply at macports.org
Wed Jan 14 11:36:36 PST 2009


#18000: ASFRecorder 1.1_0 invalid command name "cd"
----------------------------------------+-----------------------------------
 Reporter:  iyoda-macports@…            |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:  Port Bugs                            
Component:  ports                       |     Version:  1.7.0                                
 Keywords:                              |        Port:                                       
----------------------------------------+-----------------------------------
 {{{
 $ sudo port install ASFRecorder
 --->  Fetching ASFRecorder
 --->  Verifying checksum(s) for ASFRecorder
 --->  Extracting ASFRecorder
 --->  Configuring ASFRecorder
 --->  Building ASFRecorder
 Error: Target org.macports.build returned: invalid command name "cd"
 Error: Status 1 encountered during processing.
 }}}

 patch this.

 {{{
 $ diff -u Portfile.orig Portfile
 --- Portfile.orig       2008-05-07 21:54:27.000000000 +0900
 +++ Portfile    2009-01-15 04:24:13.000000000 +0900
 @@ -13,7 +13,7 @@
  use_zip         yes
  checksums       md5 c0cd281b9f72479945058735d8eff8a2
  use_configure   no
 -build           {cd ${workpath}/${name}/source;
 -                  system "cc -o ${name} asfrecorder.c"}
 +build           { system "cc -o ${workpath}/${name}/source/${name} \
 +                       ${workpath}/${name}/source/asfrecorder.c"}
  destroot        { xinstall -m 755 ${workpath}/${name}/source/ASFRecorder
 \
                                         ${destroot}/${prefix}/bin }
 }}}

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


More information about the macports-tickets mailing list