source: trunk/dports/perl/p5-net-ssleay/Portfile

Last change on this file was 154393, checked in by mojca@…, 13 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         Net-SSLeay 1.78
9license             OpenSSL SSLeay
10maintainers         nomaintainer
11description         Perl extension for using OpenSSL
12long_description    Net::SSLeay Perl module for using OpenSSL
13platforms           darwin
14
15checksums           rmd160  17bc7790e45faf9b26823fdb15bc0b52bd6aac9a \
16                    sha256  e7f56427602f897446013b84b9ff51b8e8ab4fce0bbd086c4e28c198a942ed53
17
18if {${perl5.major} != ""} {
19    depends_build-append \
20                    port:p${perl5.major}-test-exception \
21                    port:p${perl5.major}-test-nowarnings \
22                    port:p${perl5.major}-test-warn
23
24    depends_lib-append \
25                    path:lib/libssl.dylib:openssl
26
27# we know we have a compiler, so remove check that fails in some cases
28    patchfiles      compiler_check.patch
29
30    configure.env   OPENSSL_PREFIX=${prefix}
31
32# clang: error: unknown argument: '-fstack-protector-strong'
33    if {[string match *clang* ${configure.compiler}]} {
34        post-configure {
35            reinplace -W ${worksrcpath} "s/ -fstack-protector-strong//g" Makefile
36        }
37    }
38}
Note: See TracBrowser for help on using the repository browser.