freebsd-ports/textproc/html2text/files/patch-configure
Eitan Adler db18f65b64 Make html2text play nice with CXX.
This is a build only fix, so no PORTREVISION bump.

Reported by:	peter
Feature safe:	yes
2012-11-11 15:33:02 +00:00

12 lines
294 B
Text

--- ./configure.orig 2012-11-11 09:42:22.000000000 -0500
+++ ./configure 2012-11-11 09:46:01.000000000 -0500
@@ -38,8 +38,7 @@
return 0;
}
EOF
-CXX=unknown;
-for i in "CC" "g++" "cc" "$CC"; do
+for i in "$CXX" "c++"; do
if $i -c $tmp_file.C 2>/dev/null; then
CXX="$i";
break;