mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
b169298681
fix threaded build on 5.x. Approved by: maintainer
39 lines
883 B
Plaintext
39 lines
883 B
Plaintext
|
|
$FreeBSD$
|
|
|
|
--- hints/freebsd.sh.orig Sat Jun 1 20:03:12 2002
|
|
+++ hints/freebsd.sh Tue Apr 1 14:17:18 2003
|
|
@@ -98,6 +98,13 @@
|
|
;;
|
|
esac
|
|
libswanted=`echo $libswanted | sed 's/ malloc / /'`
|
|
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
|
|
+ libswanted=`echo $libswanted | sed 's/ iconv / /'`
|
|
+ d_setregid='define'
|
|
+ d_setreuid='define'
|
|
+ d_setegid='define'
|
|
+ d_seteuid='define'
|
|
+ d_dosuid='define'
|
|
;;
|
|
esac
|
|
|
|
@@ -124,7 +131,7 @@
|
|
fi
|
|
lddlflags='-Bshareable'
|
|
fi
|
|
- cccdlflags='-DPIC -fpic'
|
|
+ cccdlflags='-DPIC -fPIC'
|
|
;;
|
|
esac
|
|
|
|
@@ -223,6 +230,9 @@
|
|
4.*) # 4.x has gethostbyaddr_r but it is
|
|
# "Temporary function, not threadsafe"...
|
|
d_gethostbyaddr_r="undef"
|
|
+ d_gethostbyaddr_r_proto="undef"
|
|
+ ;;
|
|
+ 5.*) d_gethostbyaddr_r="undef"
|
|
d_gethostbyaddr_r_proto="undef"
|
|
;;
|
|
esac
|