Ticket #51528: openvpn2-passwordsave-variant.diff

File openvpn2-passwordsave-variant.diff, 787 bytes (added by ewen-naos-nz (Ewen McNeill), 8 years ago)

Add "+passwordsave" variant to openvpn2 Portfile

  • Portfile

    old new  
    55
    66name                openvpn2
    77version             2.3.8
    8 revision            1
     8revision            2
    99distname            openvpn-${version}
    1010categories          net security
    1111platforms           darwin
     
    3131configure.args      --program-suffix=2 \
    3232                    --docdir=${prefix}/share/doc/${name}
    3333
     34variant passwordsave description {Build with --enable-password-save} {
     35    configure.args-append --enable-password-save
     36}
     37
    3438post-destroot {
    3539    set docdir ${destroot}${prefix}/share/doc/${name}
    3640    set exdir ${destroot}${prefix}/share/examples/${name}