Ticket #1388: patch-Portfile

File patch-Portfile, 850 bytes (added by tp62@…, 21 years ago)

patch fixing ln -s call

Line 
1--- Portfile-orig       Tue Jan  6 13:32:58 2004
2+++ Portfile    Tue Jan  6 13:36:29 2004
3@@ -3,7 +3,7 @@
4 PortSystem 1.0
5 name           john
6 version                1.6
7-revision       1
8+revision       2
9 categories     sysutils security
10 maintainers    yeled@opendarwin.org
11 description    Featureful Unix password cracker
12@@ -34,7 +34,7 @@
13        system "cp -fR ${portpath}/${workdir}/${distname}/run ${destroot}${prefix}/share/john/"
14        #file copy -force ${portpath}/${workdir}/${distname}/run ${destroot}${prefix}/share/john/
15        system "chmod -R ugo+rx ${destroot}${prefix}/share/john/run/"
16-       system "ln -s ${destroot}${prefix}/share/john/run/john ${destroot}${prefix}/bin/john"
17+       system "ln -s ${prefix}/share/john/run/john ${destroot}${prefix}/bin/john"
18       
19        file mkdir ${destroot}${prefix}/share/doc/john
20        system "cp -fR ${portpath}/${workdir}/${distname}/doc/* ${destroot}${prefix}/share/doc/john/"