Ticket #48809: lsh-Portfile.diff

File lsh-Portfile.diff, 1.7 KB (added by greeneg (Gary Greene), 9 years ago)

Portfile diff

  • Portfile

    old new  
    44
    55name            lsh
    66version         1.5.4
    7 revision        0
     7revision        1
    88description     A GNU implementation of the Secure Shell protocols
    99long_description        \
    1010        lsh is a free implementation (in the GNU sense) of the ssh \
     
    3434
    3535
    3636platform darwin {
    37         post-extract    {
    38                 system "mkdir -p ${workpath}/paminclude"
    39                 system "ln -sf /usr/include/pam ${workpath}/paminclude/security"
    40         }
     37    post-extract {
     38        system "mkdir -p ${workpath}/paminclude"
     39        system "ln -sf /usr/include/pam ${workpath}/paminclude/security"
     40    }
    4141
    4242        patchfiles-append       patch-src-unix_user.c.diff
    4343
    44         post-patch      {
     44        post-patch {
    4545                # fix time stamps
    4646                system "touch \"${worksrcpath}/src/unix_user.c.x\""
    4747        }
    4848
    49         set platformcflags      "-I${workpath}/paminclude"
     49    set platformcflags  "-I${workpath}/paminclude"
    5050        configure.args ${defaultconfigureargs} CPPFLAGS="${defaultcflags} ${platformcflags}" LDFLAGS="-L${prefix}/lib"
    5151
    52         post-install {
    53                 ui_msg "Additionally, for PAM, you need to copy /etc/pam.d/sshd to"
    54                 ui_msg " /etc/pam.d/lshd, or use another config with pam_securityserver.so."
    55         }
    56 
     52    post-install {
     53        ui_msg "Additionally, for PAM, you need to copy /etc/pam.d/sshd to "
     54        ui_msg "/etc/pam.d/lshd, or use another config with pam_securityserver.so."
     55    }
    5756}
    5857
     58configure.cflags-append "-std=gnu89"
    5959configure.args ${defaultconfigureargs} CPPFLAGS="${defaultcflags}" LDFLAGS="-L${prefix}/lib"