aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-11-11 23:33:02 +0800
committereadler <eadler@FreeBSD.org>2012-11-11 23:33:02 +0800
commit426f7e9584520ac39b37aee042e116fc5b063bf9 (patch)
tree6db0b7cbaa2f3c2ad78b707296093bc56436d5cf
parentb78e14fe06b71a7a03d307b0536abcc2b30fec61 (diff)
downloadfreebsd-ports-gnome-426f7e9584520ac39b37aee042e116fc5b063bf9.tar.gz
freebsd-ports-gnome-426f7e9584520ac39b37aee042e116fc5b063bf9.tar.zst
freebsd-ports-gnome-426f7e9584520ac39b37aee042e116fc5b063bf9.zip
Make html2text play nice with CXX.
This is a build only fix, so no PORTREVISION bump. Reported by: peter Feature safe: yes
-rw-r--r--textproc/html2text/files/patch-configure12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/html2text/files/patch-configure b/textproc/html2text/files/patch-configure
new file mode 100644
index 000000000000..f34e0ac05be0
--- /dev/null
+++ b/textproc/html2text/files/patch-configure
@@ -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;