Changeset 149072


Ignore:
Timestamp:
May 28, 2016, 2:58:20 PM (3 years ago)
Author:
mcalhoun@…
Message:

octave family: xinstall should not use -p when installing directories (possible fix for #51424)

Location:
trunk/dports/math
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/math/octave-devel/Portfile

    r149057 r149072  
    509509
    510510    post-build {
    511         xinstall -d -p -m 0755 ${worksrcpath}/${appName}/Contents
    512         xinstall -d -p -m 0755 ${worksrcpath}/${appName}/Contents/Resources
    513         xinstall -d -p -m 0755 ${worksrcpath}/${appName}/Contents/MacOS
     511        xinstall -d -m 0755 ${worksrcpath}/${appName}/Contents
     512        xinstall -d -m 0755 ${worksrcpath}/${appName}/Contents/Resources
     513        xinstall -d -m 0755 ${worksrcpath}/${appName}/Contents/MacOS
    514514
    515515        set script [open "${worksrcpath}/${appName}/Contents/MacOS/Octave" w 0755]
     
    674674        ${destroot}${prefix}/share/octave/${version}/appdata/
    675675    foreach num {16 22 24 32 48 64 128 256 512} {
    676         xinstall -d -m 0755 -p ${destroot}${prefix}/share/octave/${version}/icons/hicolor/${num}x${num}/apps
     676        xinstall -d -m 0755 ${destroot}${prefix}/share/octave/${version}/icons/hicolor/${num}x${num}/apps
    677677        move \
    678678            ${destroot}${prefix}/share/icons/hicolor/${num}x${num}/apps/octave.png \
    679679            ${destroot}${prefix}/share/octave/${version}/icons/hicolor/${num}x${num}/apps/octave.png
    680680    }
    681     xinstall -d -m 0755 -p ${destroot}${prefix}/share/octave/${version}/icons/hicolor/scalable/apps
     681    xinstall -d -m 0755 ${destroot}${prefix}/share/octave/${version}/icons/hicolor/scalable/apps
    682682    move \
    683683        ${destroot}${prefix}/share/icons/hicolor/scalable/apps/octave.svg \
  • trunk/dports/math/octave/Portfile

    r149057 r149072  
    357357
    358358    post-build {
    359         xinstall -d -p -m 0755 ${worksrcpath}/${appName}/Contents
    360         xinstall -d -p -m 0755 ${worksrcpath}/${appName}/Contents/Resources
    361         xinstall -d -p -m 0755 ${worksrcpath}/${appName}/Contents/MacOS
     359        xinstall -d -m 0755 ${worksrcpath}/${appName}/Contents
     360        xinstall -d -m 0755 ${worksrcpath}/${appName}/Contents/Resources
     361        xinstall -d -m 0755 ${worksrcpath}/${appName}/Contents/MacOS
    362362
    363363        set script [open "${worksrcpath}/${appName}/Contents/MacOS/Octave" w 0755]
Note: See TracChangeset for help on using the changeset viewer.