Ticket #12162: ent.diff.update

File ent.diff.update, 1.1 KB (added by blb@…, 16 years ago)

diff to detabified Portfile to update to current version

Line 
1--- Portfile    2007-08-14 14:46:52.000000000 -0600
2+++ Portfile.newversion 2007-11-18 18:35:21.000000000 -0700
3@@ -2,8 +2,7 @@
4 
5 PortSystem          1.0
6 name                ent
7-version             19981020
8-revision            2
9+version             20060716
10 categories          math security
11 maintainers         blb@macports.org
12 description         Entropy calculator
13@@ -22,13 +21,17 @@
14 use_zip             yes
15 worksrcdir          ent
16 
17-checksums           md5 ccaa3fffd4d84d46e9b712d0c88f008c
18+checksums           md5 9e9ff769c4816ae9f7f402984ae54790 \
19+                    sha1 e5d91565a3d0a4bd9208a5bec8ff786e734eec55 \
20+                    rmd160 6cf7f052f450cd2f027a954d52a2beb7e2bdc81f
21 
22 pre-extract {
23    extract.post_args   "-d ${worksrcpath}"
24 }
25 
26-patchfiles          patch-Makefile patch-randtest.c
27+post-extract {
28+   reinplace "s|CFLAGS =.*|CFLAGS = -O3|" ${worksrcpath}/Makefile
29+}
30 
31 use_configure       no
32 
33@@ -42,7 +45,3 @@
34       ${destroot}${prefix}/share/doc/${name}
35 }
36 
37-platform darwin {
38-   build.args-append   CFLAGS="-O3 -DHAVE_LOG2"
39-}
40-