Ticket #11981: icu-3.6_1.diff
File icu-3.6_1.diff, 1.2 KB (added by n.oxyde@…, 18 years ago) |
---|
-
Portfile
4 4 5 5 name icu 6 6 version 3.6 7 revision 1 7 8 categories devel 8 9 platforms darwin 9 10 maintainers n.oxyde@gmail.com … … 29 30 worksrcdir ${name}/source 30 31 set docdir ${prefix}/share/doc/${name}-${version} 31 32 32 pre-configure {33 reinplace "s;install_name ;install_name ${prefix}/lib/;" ${worksrcpath}/config/mh-darwin34 }35 33 configure.args --mandir=${prefix}/share/man \ 36 34 --disable-samples 37 35 36 # Fix bug #11981 that prevents ICU from building when upgrading. 37 # The -I default parameter causes utilisation of outdated ICU headers instead of the right ones. 38 # As this port has no dependencies, this trick is safe. 39 configure.cppflags "" 40 38 41 test.run yes 42 test.target check 39 43 44 post-patch { 45 reinplace "s;install_name ;install_name ${prefix}/lib/;" ${worksrcpath}/config/mh-darwin 46 } 47 40 48 post-destroot { 41 49 xinstall -m 0755 -d ${destroot}${docdir}/html 42 50 xinstall -m 0644 -W ${worksrcpath}/.. license.html readme.html ${destroot}${docdir}/html 43 44 delete ${destroot}${prefix}/share/${name}/${version}/license.html45 51 } 46 52 47 53 variant doc {