diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-09-23 11:56:18 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-09-23 11:56:18 +0000 |
commit | 204e156f65a30336b30aa604bc3e3544bdb425d3 (patch) | |
tree | 9bda968a47a1f3f72fa733788933c5804b92e2dd /mail | |
parent | 2442a72d1b5d6c37d292f3206d5d33e4dca2af9f (diff) | |
download | ports-204e156f65a30336b30aa604bc3e3544bdb425d3.tar.gz ports-204e156f65a30336b30aa604bc3e3544bdb425d3.zip |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/bogofilter/files/patch-configure | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/bogofilter/files/patch-configure b/mail/bogofilter/files/patch-configure new file mode 100644 index 000000000000..544c40f04d41 --- /dev/null +++ b/mail/bogofilter/files/patch-configure @@ -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 |