diff --git a/dports/textproc/tesseract/Portfile b/dports/textproc/tesseract/Portfile
index 16425cb..8705677 100644
a
|
b
|
PortSystem 1.0 |
5 | 5 | |
6 | 6 | name tesseract |
7 | 7 | version 3.01 |
8 | | revision 1 |
| 8 | revision 2 |
9 | 9 | categories textproc graphics pdf |
10 | 10 | platforms darwin |
11 | 11 | |
… |
… |
checksums rmd160 f254182870038068edb949714c3e989cd955e225 \ |
28 | 28 | sha256 c24b0bd278291bc93ab242f93841c1d8743689c943bd804afbc5b898dc0a1c9b |
29 | 29 | |
30 | 30 | if {${name} == ${subport}} { |
31 | | revision 1 |
| 31 | revision 2 |
32 | 32 | |
33 | 33 | depends_build port:autoconf \ |
34 | 34 | port:automake \ |
… |
… |
if {${name} == ${subport}} { |
43 | 43 | patchfiles patch-configure.diff \ |
44 | 44 | patch-ccutil-strngs.h.diff |
45 | 45 | |
| 46 | post-patch { |
| 47 | reinplace "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" \ |
| 48 | ${worksrcpath}/configure.ac |
| 49 | file mkdir ${worksrcpath}/m4 |
| 50 | } |
| 51 | |
46 | 52 | use_autoreconf yes |
47 | 53 | autoreconf.cmd ./autogen.sh |
48 | 54 | |