[114074] trunk/dports/_resources/port1.0/group/octave-1.0.tcl

michaelld at macports.org michaelld at macports.org
Wed Nov 27 19:29:24 PST 2013


Revision: 114074
          https://trac.macports.org/changeset/114074
Author:   michaelld at macports.org
Date:     2013-11-27 19:29:24 -0800 (Wed, 27 Nov 2013)
Log Message:
-----------
octave 1.0 PortGroup: fix post-patch such that upon exit ${worksrcpath} exists but is empty -- to keep the "cd" in the configure stage happy, even though it does not always seem to need the directory to exist.

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/octave-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/octave-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/octave-1.0.tcl	2013-11-28 01:42:23 UTC (rev 114073)
+++ trunk/dports/_resources/port1.0/group/octave-1.0.tcl	2013-11-28 03:29:24 UTC (rev 114074)
@@ -105,9 +105,15 @@
 
     # create a tarball of the resulting patched module
 
-    xinstall -d -m 755 ${workpath}
     system "cd ${workpath} && tar zcf .tmp/${octave.module}.tar.gz ${worksrcdir}"
+
+    # delete the module's code since it is not used by Octave, but
+    # remake the directory since configure (sometimes) expects it to
+    # "cd" into for that stage.
+
     delete ${worksrcpath}
+    xinstall -d -m 755 ${worksrcpath}
+
 }
 
 pre-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131127/7d035caf/attachment.html>


More information about the macports-changes mailing list