Ticket #46657: Portfile-openssl.diff
File Portfile-openssl.diff, 1.8 KB (added by Schamschula (Marius Schamschula), 10 years ago) |
---|
-
Portfile
old new 4 4 PortGroup muniversal 1.0 5 5 6 6 name openssl 7 version 1.0. 1k7 version 1.0.2 8 8 epoch 1 9 9 10 10 # At least the following ports statically link OpenSSL and need to be revbumped … … 31 31 cryptography library. 32 32 33 33 master_sites http://www.openssl.org/source/ 34 checksums md5 d4f002bd22a56881340105028842ae1f\35 sha1 19d818e202558c212a9583fcdaf876995a633ddf\36 rmd160 e22c085189c6ce640378f0cc67faa512b4b873f2\37 sha256 8 f9faeaebad088e772f4ef5e38252d472be4d878c6b3a2718c10a4fcebe7a41c34 checksums md5 38373013fc85c790aabf8837969c5eba \ 35 sha1 2f264f7f6bb973af444cd9fc6ee65c8588f610cc \ 36 rmd160 a5452cd1fd380dcbc1dd53d8e50da6ec632ebd6e \ 37 sha256 8c48baf3babe0d505d16cfc0cf272589c66d3624264098213db0fb00034728e9 38 38 39 39 depends_lib port:zlib 40 40 41 patchfiles patch- Makefile.org.diff patch-crypto-Makefile.diff \41 patchfiles patch-crypto-Makefile.diff \ 42 42 patch-Makefile.org-parallel.diff \ 43 43 patch-bn_internal.pod.diff patch-Configure.diff 44 44 45 45 post-patch { 46 46 # Ensure that the correct compiler is used 47 reinplace "s|cc:|${configure.cc}:|" ${worksrcpath}/Configure47 reinplace -locale C "s|cc:|${configure.cc}:|" ${worksrcpath}/Configure 48 48 # use SDK if necessary 49 49 if {${configure.sdkroot} != ""} { 50 reinplace "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${configure.sdkroot}|" ${worksrcpath}/Configure50 reinplace -locale C "s|\\(-arch \[_a-zA-Z0-9\]*\\)|\\1 -isysroot ${configure.sdkroot}|" ${worksrcpath}/Configure 51 51 } 52 52 } 53 53