Date: Mon, 23 Sep 2019 11:56:18 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512633 - head/mail/bogofilter/files Message-ID: <201909231156.x8NBuI1M042568@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Mon Sep 23 11:56:18 2019 New Revision: 512633 URL: https://svnweb.freebsd.org/changeset/ports/512633 Log: mail/bogofilter: unbreak with clang 9 cpp: error: '-I-' not supported, please use -iquote instead Reported by: antoine (via bug 240629 exp-run) Added: head/mail/bogofilter/files/patch-configure (contents, props changed) Added: head/mail/bogofilter/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/bogofilter/files/patch-configure Mon Sep 23 11:56:18 2019 (r512633) @@ -0,0 +1,17 @@ +Clang 9 no longer pretends to be GCC +https://reviews.llvm.org/rL356931 +https://reviews.llvm.org/rL366091 + +--- configure.orig 2019-09-08 15:43:06 UTC ++++ configure +@@ -6464,8 +6464,8 @@ if test "$GCC" = yes && test "$ICC" = no ; then + ""|2.*|3.*) ;; + 4.*) gcc4=yes ;; + esac +- case "$CC" in +- *clang) gcc4=yes ;; ++ case `$CC --version 2>/dev/null` in ++ *clang*) gcc4=yes ;; + esac + fi + if test $gcc4 = yes; then
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909231156.x8NBuI1M042568>