[78453] trunk/dports/emulators

ryandesign at macports.org ryandesign at macports.org
Sat May 7 23:30:45 PDT 2011


Revision: 78453
          http://trac.macports.org/changeset/78453
Author:   ryandesign at macports.org
Date:     2011-05-07 23:30:44 -0700 (Sat, 07 May 2011)
Log Message:
-----------
minivmac, minivmac-devel: use absolute paths to MacPorts bspatch and expect

Modified Paths:
--------------
    trunk/dports/emulators/minivmac/Portfile
    trunk/dports/emulators/minivmac-devel/Portfile

Modified: trunk/dports/emulators/minivmac/Portfile
===================================================================
--- trunk/dports/emulators/minivmac/Portfile	2011-05-08 06:27:08 UTC (rev 78452)
+++ trunk/dports/emulators/minivmac/Portfile	2011-05-08 06:30:44 UTC (rev 78453)
@@ -162,7 +162,7 @@
     # Copy the Disk Tools image from the container image. The binary patchfile applied with bspatch
     # places an alias of the output disk at System Folder:Preferences:Gryphel:Build:output.
     set my_system_disk_container_mount [my_attach_disk_image ${worksrcpath}/${my_system_disk_container}]
-    my_system "bspatch '${my_system_disk_container_mount}/Disk Tools.image' '${worksrcpath}/Disk Tools.dsk' '${filespath}/Disk Tools.dsk.bsdiff'"
+    my_system "${prefix}/bin/bspatch '${my_system_disk_container_mount}/Disk Tools.image' '${worksrcpath}/Disk Tools.dsk' '${filespath}/Disk Tools.dsk.bsdiff'"
     my_detach_disk_image ${my_system_disk_container_mount}
     
     # Get a large empty disk image to store the output.
@@ -358,7 +358,7 @@
     set mountpoint [mkdtemp "/tmp/${my_name}.XXXXXXXX"]
     # Use this expect script instead of using hdiutil directly, because the
     # system disk image has a license agreement we must agree to.
-    my_system "expect ${filespath}/attach.exp '${disk_image}' '${mountpoint}'"
+    my_system "${prefix}/bin/expect ${filespath}/attach.exp '${disk_image}' '${mountpoint}'"
     return ${mountpoint}
 }
 

Modified: trunk/dports/emulators/minivmac-devel/Portfile
===================================================================
--- trunk/dports/emulators/minivmac-devel/Portfile	2011-05-08 06:27:08 UTC (rev 78452)
+++ trunk/dports/emulators/minivmac-devel/Portfile	2011-05-08 06:30:44 UTC (rev 78453)
@@ -170,7 +170,7 @@
     # Copy the Disk Tools image from the container image. The binary patchfile applied with bspatch
     # places an alias of the output disk at System Folder:Preferences:Gryphel:Build:output.
     set my_system_disk_container_mount [my_attach_disk_image ${worksrcpath}/${my_system_disk_container}]
-    my_system "bspatch '${my_system_disk_container_mount}/Disk Tools.image' '${worksrcpath}/Disk Tools.dsk' '${filespath}/Disk Tools.dsk.bsdiff'"
+    my_system "${prefix}/bin/bspatch '${my_system_disk_container_mount}/Disk Tools.image' '${worksrcpath}/Disk Tools.dsk' '${filespath}/Disk Tools.dsk.bsdiff'"
     my_detach_disk_image ${my_system_disk_container_mount}
     
     # Get a large empty disk image to store the output.
@@ -366,7 +366,7 @@
     set mountpoint [mkdtemp "/tmp/${my_name}.XXXXXXXX"]
     # Use this expect script instead of using hdiutil directly, because the
     # system disk image has a license agreement we must agree to.
-    my_system "expect ${filespath}/attach.exp '${disk_image}' '${mountpoint}'"
+    my_system "${prefix}/bin/expect ${filespath}/attach.exp '${disk_image}' '${mountpoint}'"
     return ${mountpoint}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110507/030759f5/attachment.html>


More information about the macports-changes mailing list