Ticket #46657: Portfile-openssl.diff

File Portfile-openssl.diff, 1.8 KB (added by Schamschula (Marius Schamschula), 10 years ago)
  • Portfile

    old new  
    44PortGroup  muniversal 1.0
    55
    66name                openssl
    7 version             1.0.1k
     7version             1.0.2
    88epoch               1
    99
    1010# At least the following ports statically link OpenSSL and need to be revbumped
     
    3131    cryptography library.
    3232
    3333master_sites        http://www.openssl.org/source/
    34 checksums           md5     d4f002bd22a56881340105028842ae1f \
    35                     sha1    19d818e202558c212a9583fcdaf876995a633ddf \
    36                     rmd160  e22c085189c6ce640378f0cc67faa512b4b873f2 \
    37                     sha256  8f9faeaebad088e772f4ef5e38252d472be4d878c6b3a2718c10a4fcebe7a41c
     34checksums           md5     38373013fc85c790aabf8837969c5eba \
     35                    sha1    2f264f7f6bb973af444cd9fc6ee65c8588f610cc \
     36                    rmd160  a5452cd1fd380dcbc1dd53d8e50da6ec632ebd6e \
     37                    sha256  8c48baf3babe0d505d16cfc0cf272589c66d3624264098213db0fb00034728e9
    3838
    3939depends_lib         port:zlib
    4040
    41 patchfiles          patch-Makefile.org.diff patch-crypto-Makefile.diff \
     41patchfiles          patch-crypto-Makefile.diff \
    4242                    patch-Makefile.org-parallel.diff \
    4343                    patch-bn_internal.pod.diff patch-Configure.diff
    4444
    4545post-patch {
    4646    # Ensure that the correct compiler is used
    47     reinplace "s|cc:|${configure.cc}:|" ${worksrcpath}/Configure
     47    reinplace -locale C  "s|cc:|${configure.cc}:|" ${worksrcpath}/Configure
    4848    # use SDK if necessary
    4949    if {${configure.sdkroot} != ""} {
    50         reinplace "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${configure.sdkroot}|" ${worksrcpath}/Configure
     50        reinplace -locale C "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${configure.sdkroot}|" ${worksrcpath}/Configure
    5151    }
    5252}
    5353