Ticket #16604: patch-socat-1.6.0.1.diff

File patch-socat-1.6.0.1.diff, 1.6 KB (added by raimue (Rainer Müller), 16 years ago)

patch for Portfile

  • Portfile

     
    22
    33PortSystem 1.0
    44name            socat
    5 version         1.4.2.0
     5version         1.6.0.1
    66categories      sysutils net
    77maintainers     md@hudora.de
    88platforms       darwin
     
    1414 SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the \
    1515 GNU line editor (readline), a program, or a combination of two of these.
    1616master_sites    http://www.dest-unreach.org/socat/download/
    17 checksums       md5 17694e6390f3488c5318a2cb18ec9919
    18 worksrcdir      socat-1.4
     17checksums       md5     5a6a1d1e398d5c4d32fa6515baf477af \
     18                sha1    39ed55df397cdf7d8adaa26a60c22ebe3a6c0f0e \
     19                rmd160  b45bcfeb46009b89167bcce4a0d69cca1238f921
    1920depends_lib             port:readline
    20 configure.cflags-append "-L${prefix}/lib -lreadline"
     21configure.ldflags-append        "-L${prefix}/lib -lreadline"
     22
     23# This patch should not be necessary for later versions
     24# taken from <http://www.dest-unreach.org/socat/contrib/socat-macos.html>
     25# patches configure.in, requires autoconf
     26patchfiles      socat-1.6.0.1-mac-CL.diff
     27patch.pre_args  -p1
     28use_autoconf    yes
     29
    2130post-configure {
    2231    reinplace "s|\$(INSTALL) -m 644 socat.1 \$(DESTDIR)\$(MANDEST)/man1/|\$(INSTALL) -d -m 755 \$(DESTDIR)\$(MANDEST)/man1/\\\n\\\t\$(INSTALL) -m 644 socat.1 \$(DESTDIR)\$(MANDEST)/man1/|g" \
    2332              ${worksrcpath}/Makefile
    2433}
    25 post-destroot {
    26         file rename ${destroot}${prefix}/man/man1/socat.1 ${destroot}${prefix}/share/man/man1/socat.1
    27 }
    2834
    2935platform darwin 9 {
    3036    configure.args-append --disable-termios