Ticket #470: patch_portfile_angst

File patch_portfile_angst, 606 bytes (added by ole_guldberg@…, 21 years ago)

patch to portfile - now the bloody thing should compile - even without the missing patch to the makefile

Line 
1--- Portfile.org        Tue Jul  8 10:51:24 2003
2+++ Portfile    Tue Jul  8 10:48:25 2003
3@@ -17,9 +17,8 @@
4 depends_lib    lib:libnet:libnet
5 
6 pre-configure       { cd ${worksrcpath}
7-                reinplace "s|sprefix=/usr/local|sprefix=${prefix}|g" Makefile }
8+       reinplace "s|/usr/local|${prefix}|g" Makefile
9+       reinplace "s|/opt/local/sbin|${destroot}${prefix}/sbin|g" Makefile
10+       reinplace "s|/opt/local/man|${destroot}${prefix}/man|g" Makefile}
11 
12-configure       { cd ${worksrcpath}
13-               reinplace "s|prefix=/usr/local|prefix=${destroot}${prefix}|g" Makefile }
14-
15-patchfiles     patch-Makefile
16+configure       {}