Ticket #1130: patch_Portfile

File patch_Portfile, 993 bytes (added by olegb@…, 20 years ago)

here is a unified diff of the portfile

Line 
1--- Portfile.org        Sun Nov  2 13:23:00 2003
2+++ Portfile    Sat Nov  8 08:10:28 2003
3@@ -24,10 +24,23 @@
4 depends_lib    \
5        lib:libnet:libnet lib:libnids:libnids
6 patchfiles     Makefile.in.diff
7-post-patch {
8-       reinplace "s|@install_prefix@|${destroot}|g" "${worksrcpath}/Makefile.in"
9-}
10 
11+platform darwin 6 { post-patch {
12+               reinplace "s|@install_prefix@|${destroot}|g" "${worksrcpath}/Makefile.in"
13+                       }
14+               }       
15+
16+platform darwin        7 { post-patch {
17+                       reinplace "s|@install_prefix@|${destroot}|g" "${worksrcpath}/Makefile.in"
18+                       reinplace "s|nameser.h|nameser8_compat.h|g" "asn1.c"
19+                       reinplace "s|nameser.h|nameser8_compat.h|g" "ssh.c"
20+                       reinplace "s|nameser.h|nameser8_compat.h|g" "decode_mmxp.c"
21+                       reinplace "s|nameser.h|nameser8_compat.h|g" "decode_smb.c"
22+                       reinplace "s|nameser.h|nameser8_compat.h|g" "dnsspoof.c"
23+                       reinplace "s|nameser.h|nameser8_compat.h|g" "sshmitm.c"
24+                       }
25+               }
26+               
27 variant unstable {
28        version         2.4b1
29        master_sites    http://naughty.monkey.org/~dugsong/dsniff/beta/