mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 09:40:35 -04:00
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
--- configure.orig
|
|
+++ configure
|
|
@@ -8461,9 +8461,6 @@ case "${host_os}" in
|
|
;;
|
|
freebsd*)
|
|
SYS=freebsd
|
|
- CFLAGS="${CFLAGS} -pthread"
|
|
- CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
|
|
- LDFLAGS="${LDFLAGS} -L/usr/local/lib"
|
|
;;
|
|
openbsd*)
|
|
SYS=openbsd
|
|
@@ -26098,7 +26095,7 @@ main ()
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
+if ac_fn_c_try_link "$LINENO"; then :
|
|
|
|
ac_cv_c_o4=yes
|
|
|
|
@@ -26142,7 +26139,7 @@ main ()
|
|
return 0;
|
|
}
|
|
_ACEOF
|
|
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
+if ac_fn_c_try_link "$LINENO"; then :
|
|
|
|
ac_cv_c_o3=yes
|
|
|
|
@@ -27336,7 +27333,7 @@ _ACEOF
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
|
ac_cv_altivec_inline="yes"
|
|
else
|
|
- CFLAGS="${CFLAGS} -Wa,-m7400"
|
|
+ CFLAGS="${CFLAGS} -Wa,-maltivec"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -27349,7 +27346,7 @@ asm volatile("vperm 0,1,2,3");
|
|
}
|
|
_ACEOF
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
|
- ac_cv_altivec_inline="-Wa,-m7400"
|
|
+ ac_cv_altivec_inline="-Wa,-maltivec"
|
|
else
|
|
ac_cv_altivec_inline=no
|
|
fi
|