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) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name socat 5 version 1. 4.2.05 version 1.6.0.1 6 6 categories sysutils net 7 7 maintainers md@hudora.de 8 8 platforms darwin … … 14 14 SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the \ 15 15 GNU line editor (readline), a program, or a combination of two of these. 16 16 master_sites http://www.dest-unreach.org/socat/download/ 17 checksums md5 17694e6390f3488c5318a2cb18ec9919 18 worksrcdir socat-1.4 17 checksums md5 5a6a1d1e398d5c4d32fa6515baf477af \ 18 sha1 39ed55df397cdf7d8adaa26a60c22ebe3a6c0f0e \ 19 rmd160 b45bcfeb46009b89167bcce4a0d69cca1238f921 19 20 depends_lib port:readline 20 configure.cflags-append "-L${prefix}/lib -lreadline" 21 configure.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 26 patchfiles socat-1.6.0.1-mac-CL.diff 27 patch.pre_args -p1 28 use_autoconf yes 29 21 30 post-configure { 22 31 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" \ 23 32 ${worksrcpath}/Makefile 24 33 } 25 post-destroot {26 file rename ${destroot}${prefix}/man/man1/socat.1 ${destroot}${prefix}/share/man/man1/socat.127 }28 34 29 35 platform darwin 9 { 30 36 configure.args-append --disable-termios