Ticket #8388: html2text.patch
File html2text.patch, 1.0 KB (added by meissnem@…, 19 years ago) |
---|
-
Portfile
old new 25 25 26 26 patchfiles patch-configure.diff 27 27 28 pre-configure { reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/configure }29 30 configure.env CC="gcc3" \31 CXX="g++3"32 33 28 destroot { file copy ${worksrcpath}/html2text ${destroot}${prefix}/bin 34 29 file copy ${worksrcpath}/html2text.1.gz ${destroot}${prefix}/share/man/man1 35 30 file copy ${worksrcpath}/html2textrc.5.gz ${destroot}${prefix}/share/man/man5 -
files/patch-configure.diff
diff -ru html2text.old/files/patch-configure.diff html2text/files/patch-configure.diff
old new 5 5 EOF 6 6 CXX=unknown; 7 7 -for i in "CC" "g++" "cc" "$CC"; do 8 +for i in " c++ -no-cpp-precomp -isystem __PREFIX__/include -DAUTO_PTR_BROKEN=1" "CC" "g++"; do8 +for i in "g++" "c++" "$CXX"; do 9 9 if $i -c $tmp_file.C 2>/dev/null; then 10 10 CXX="$i"; 11 11 break;