Ticket #46651: openssl-port.diff

File openssl-port.diff, 1.2 KB (added by mouse07410 (Mouse), 10 years ago)

Diff against the current (I hope :) Portfile for openssl-1.0.1k

  • ports/devel/openssl/Portfile

    old new  
    4040
    4141patchfiles          patch-Makefile.org.diff patch-crypto-Makefile.diff \
    4242                    patch-Makefile.org-parallel.diff \
    43                     patch-bn_internal.pod.diff patch-Configure.diff
     43                    patch-bn_internal.pod.diff patch-Configure.diff \
     44                    patch-null-absent.diff
    4445
    4546post-patch {
    4647    # Ensure that the correct compiler is used
     
    7071    configure.args-append    enable-rfc3779
    7172}
    7273
     74variant jpake description {enable JPAKE: Experimental protocol JPAKE} {
     75        configure.args-append experimental-jpake
     76}
     77
     78variant gmp description {enable GMP: Link with and utilize GMP math for big numbers} {
     79        configure.args-append enable-gmp -lgmp
     80        depends_lib-append port:gmp
     81}
     82
     83variant deprecated description {enable deprecated: Support RC5, MD2, IDEA, and such old algorithms} {
     84        configure.args-append enable-rc5 enable-md2
     85}
     86
    7387# code for universal build
    7488array set merger_configure_args {
    7589    ppc    darwin-ppc-cc