Ticket #21183: cdrtools-no-root-priv-Portfile.patch

File cdrtools-no-root-priv-Portfile.patch, 794 bytes (added by mthomas+macports@…, 15 years ago)
  • Portfile

    old new  
    2727
    2828patchfiles      patch-libscg__scsi-mac-iokit.c
    2929
     30pre-patch {
     31    system "chmod u+w ${worksrcpath}/DEFAULTS/Defaults.darwin"
     32    system "chmod u+w ${worksrcpath}/DEFAULTS/Defaults.mac-os10"
     33    system "chmod u+w ${worksrcpath}/DEFAULTS_ENG/Defaults.darwin"
     34    system "chmod u+w ${worksrcpath}/DEFAULTS_ENG/Defaults.mac-os10"
     35    system "chmod u+w ${worksrcpath}/libfind/find.c"
     36    system "chmod u+w ${worksrcpath}/libfind/find_main.c"
     37    system "chmod u+w ${worksrcpath}/librscg/scsi-remote.c"
     38    system "chmod u+w ${worksrcpath}/TEMPLATES/Defaults.gcc"
     39}
     40
    3041post-patch {
    3142        reinplace "s|/opt/schily|${prefix}|g" \
    3243                ${worksrcpath}/DEFAULTS/Defaults.darwin \