mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 06:30:29 -04:00
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.
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
$FreeBSD$
|
|
|
|
--- 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" ;;
|
|
*)
|
|
{ $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;}
|