Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18000 closed defect (fixed)

ASFRecorder 1.1_0 invalid command name "cd"

Reported by: iyoda-macports@… Owned by: digdog@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: ASFRecorder

Description

$ 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 }

Change History (3)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to digdog@…
Port: ASFRecorder added

comment:2 Changed 16 years ago by digdog@…

Resolution: fixed
Status: newclosed

Fixed in r45738

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.