mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
- Honoring promise from DEPRECATED message - Unbreak people's builds PR: 243014 MFH: 2020Q1
19 lines
729 B
Text
19 lines
729 B
Text
--- config.orig 2018-01-13 13:57:15 UTC
|
|
+++ config
|
|
@@ -694,14 +694,8 @@ case "$GUESSOS" in
|
|
ia64-*-*bsd*) OUT="BSD-ia64" ;;
|
|
x86_64-*-dragonfly*) OUT="BSD-x86_64" ;;
|
|
amd64-*-*bsd*) OUT="BSD-x86_64" ;;
|
|
- *86*-*-*bsd*) # mimic ld behaviour when it's looking for libc...
|
|
- if [ -L /usr/lib/libc.so ]; then # [Free|Net]BSD
|
|
- libc=/usr/lib/libc.so
|
|
- else # OpenBSD
|
|
- # ld searches for highest libc.so.* and so do we
|
|
- libc=`(ls /usr/lib/libc.so.* /lib/libc.so.* | tail -1) 2>/dev/null`
|
|
- fi
|
|
- case "`(file -L $libc) 2>/dev/null`" in
|
|
+ *86*-*-*bsd*)
|
|
+ case "`(file -L /bin/sh) 2>/dev/null`" in
|
|
*ELF*) OUT="BSD-x86-elf" ;;
|
|
*) OUT="BSD-x86"; options="$options no-sse2" ;;
|
|
esac ;;
|