Ignore:
Timestamp:
Nov 28, 2013, 3:29:24 AM (5 years ago)
Author:
michaelld@…
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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/octave-1.0.tcl

    r114034 r114074  
    106106    # create a tarball of the resulting patched module
    107107
    108     xinstall -d -m 755 ${workpath}
    109108    system "cd ${workpath} && tar zcf .tmp/${octave.module}.tar.gz ${worksrcdir}"
     109
     110    # delete the module's code since it is not used by Octave, but
     111    # remake the directory since configure (sometimes) expects it to
     112    # "cd" into for that stage.
     113
    110114    delete ${worksrcpath}
     115    xinstall -d -m 755 ${worksrcpath}
     116
    111117}
    112118
Note: See TracChangeset for help on using the changeset viewer.