diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2014-04-27 21:37:13 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2014-04-27 21:37:13 +0000 |
commit | 29f724f79f540a961ecb9d5c55018bc9e171e648 (patch) | |
tree | dd69176d026baa71790f7302772b94482e07d8a5 /security/beecrypt/files/patch-configure | |
parent | Upgrade to new upstream version 2.70. Upstream changelog: (diff) |
When -march=FOO happens to be among CFLAGS, unexpected things could
occur (for example, -march=core2 used to break build). Not a FreeBSD
problem even -- Linux crowd was bitten by this too (and misdiagnosed
it). Our package-building does not include the flag, which is why
we haven't seen this before.
Attempt to help configure better detect the architecture and
CPU-capabilities -- and use assembler-implementations of various
routines, where possible. ("make check" is almost 30% faster now)
Ensure, SSE2-specific code builds properly with clang as well as gcc.
Ensure, the author's "make check" runs as regression-test.
Add another patch found on SourceForge.
(Attempt to) unbreak on PowerPC -- untested.
Bump PORTREVISION. Take maintainership for the time being, to deal
with any fallout.
Notes
Notes:
svn path=/head/; revision=352464
Diffstat (limited to 'security/beecrypt/files/patch-configure')
-rw-r--r-- | security/beecrypt/files/patch-configure | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/security/beecrypt/files/patch-configure b/security/beecrypt/files/patch-configure index 1a7faaeda1c8..c2f667aa7f5a 100644 --- a/security/beecrypt/files/patch-configure +++ b/security/beecrypt/files/patch-configure @@ -1,13 +1,30 @@ $FreeBSD$ ---- configure.orig Mon Nov 29 13:50:41 2004 -+++ configure Mon Nov 29 13:52:11 2004 -@@ -25861,6 +25861,8 @@ +--- configure Mon Nov 29 13:50:41 2004 ++++ configure 2014-04-27 14:31:36.000000000 -0400 +@@ -3008,7 +3005,7 @@ + sparc*) + bc_target_arch=sparc + ;; +- x86_64) ++ x86_64|amd64) + bc_target_arch=x86_64 + ;; + esac +@@ -3120,7 +3121,4 @@ + # Check for expert mode + if test "$ac_enable_expert_mode" = yes; then +- +- # try to get the architecture from CFLAGS +- bc_target_arch=`echo $CFLAGS | awk '{for (i=1; i<=NF; i++) if (substr($i,0,7)=="-march=") print substr($i,8)}'` + # examine the other flags + for flag in `echo $CFLAGS` +@@ -24015,6 +24012,8 @@ ac_cv_java_include="-I$java_include -I$java_include/osf" ;; solaris*) ac_cv_java_include="-I$java_include -I$java_include/solaris" ;; + freebsd*) + ac_cv_java_include="-I$java_include -I$java_include/freebsd" ;; *) - { echo "$as_me:$LINENO: WARNING: please add appropriate -I$java_include/<operating system> flag" >&5 - echo "$as_me: WARNING: please add appropriate -I$java_include/<operating system> flag" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: please add appropriate -I$java_include/<operating system> flag" >&5 + $as_echo "$as_me: WARNING: please add appropriate -I$java_include/<operating system> flag" >&2;} |