Ignore:
Timestamp:
Sep 30, 2015, 12:43:50 PM (4 years ago)
Author:
mcalhoun@…
Message:

p7zip: prevent permission errors when not installing as root (fixes #48653)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/p7zip/Portfile

    r135804 r140698  
    55name            p7zip
    66version         9.38.1
     7revision        1
    78categories      archivers
    89# contains unrar code which has a restrictive license
     
    2829variant universal {}
    2930
     31post-patch {
     32    # if not root, installing with restricted permissions causes errors
     33    #     when attempting to remove work directory
     34    # see http://www.linuxfromscratch.org/blfs/view/svn/general/p7zip.html
     35    reinplace "s|chmod 444|chmod 644|g" ${worksrcpath}/install.sh
     36    reinplace "s|chmod 555|chmod 755|g" ${worksrcpath}/install.sh
     37}
     38
    3039configure {
    3140    copy -force ${worksrcpath}/makefile.macosx_32bits ${worksrcpath}/makefile.machine
Note: See TracChangeset for help on using the changeset viewer.