1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Make html2text play nice with CXX.

This is a build only fix, so no PORTREVISION bump.

Reported by:	peter
Feature safe:	yes
This commit is contained in:
Eitan Adler 2012-11-11 15:33:02 +00:00
parent 0f61d322a7
commit db18f65b64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307321

View File

@ -0,0 +1,12 @@
--- ./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;