Ignore:
Timestamp:
Feb 22, 2015, 11:25:38 AM (4 years ago)
Author:
cal@…
Message:

p7zip: update to 9.38, closes #46922, openmaintainer

Additionally, switch to modern checksum types, use [get_canonical_archflags]
and ensure p7zip is UsingTheRightCompiler, remove default "use_parallel_build
yes". Passes all tests on my 10.10 box.

Location:
trunk/dports/archivers/p7zip
Files:
1 deleted
1 edited

Legend:

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

    r125292 r133151  
    44
    55name            p7zip
    6 version         9.20.1
    7 revision        1
     6version         9.38
    87categories      archivers
    98# contains unrar code which has a restrictive license
     
    2423distfiles       ${distname}_src_all${extract.suffix}
    2524
    26 checksums           md5     bd6caaea567dc0d995c990c5cc883c89 \
    27                     sha1    1cd567e043ee054bf08244ce15f32cb3258306b7 \
    28                     rmd160  c3ff2dd12459282b46d9a68ab4af7800ff46039f
     25checksums       rmd160  ae7fc4f25c602644838667bd8c09038bda035024 \
     26                sha256  a73bae37461c8e51ac8ad7db186f82c8fb7d1e140098efe21a9f0e95d68ab957
    2927
    30 patchfiles      patch-install.sh.diff
     28variant universal {}
    3129
    3230configure {
    3331    copy -force ${worksrcpath}/makefile.macosx_32bits ${worksrcpath}/makefile.machine
    34     reinplace "s|CXX=c++ |CXX=${configure.cxx} |g" \
     32    reinplace "s|^CXX=c++|CXX=${configure.cxx}|g" \
    3533            ${worksrcpath}/makefile.machine
    36     reinplace "s|CC=cc |CC=${configure.cc} |g" \
     34    reinplace "s|^CC=cc|CC=${configure.cc}|g" \
    3735            ${worksrcpath}/makefile.machine
    3836    reinplace "s|-m32||g" \
    3937            ${worksrcpath}/makefile.machine
    40     if {[variant_isset universal]} {
    41         reinplace "s|\$(LOCAL_FLAGS)|${configure.universal_cflags} \$(LOCAL_FLAGS)|g" \
     38    reinplace "s|\$(LOCAL_FLAGS)|[get_canonical_archflags] \$(LOCAL_FLAGS)|g" \
    4239            ${worksrcpath}/makefile.machine
    43     }
    4440}
    4541
     
    4743build.target all3
    4844
    49 use_parallel_build      yes
    50 
    5145destroot.destdir    DEST_HOME=${prefix} \
    5246                    DEST_SHARE_DOC=${prefix}/share/doc/${name}-${version} \
Note: See TracChangeset for help on using the changeset viewer.