mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 08:00:31 -04:00
- adds devel/readline as mandatory dependency (the previous version is not compatible anymore) - fixes a problem with multihread applications (thanks Lee Thomas) - fixes a misconfiguration issue if the devel/binutils port is installed PR: ports/164521 Submitted by: maintainer Approved by: gabor (mentor, implicit)
17 lines
471 B
Text
17 lines
471 B
Text
--- bfd/configure.orig 2011-03-28 13:18:25.000000000 +0200
|
|
+++ bfd/configure 2012-01-12 16:58:05.000000000 +0100
|
|
@@ -12177,7 +12177,13 @@
|
|
|
|
# Enable -Werror by default when using gcc
|
|
if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
|
|
- ERROR_ON_WARNING=yes
|
|
+ if test "${CC}" = clang ; then
|
|
+ echo "clang compiler - disabling -Werror"
|
|
+ ERROR_ON_WARNING=no
|
|
+ else
|
|
+ echo "gcc compiler - enabling -Werror"
|
|
+ ERROR_ON_WARNING=yes
|
|
+ fi
|
|
fi
|
|
|
|
NO_WERROR=
|