mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-07 22:58:11 +00:00
fcc2dad64f
Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
--- hints/freebsd.sh.orig Fri Jul 24 13:00:19 1998
|
|
+++ hints/freebsd.sh Sat Oct 10 20:39:02 1998
|
|
@@ -68,6 +68,7 @@
|
|
d_setreuid='define'
|
|
d_setegid='undef'
|
|
d_seteuid='undef'
|
|
+ d_dosuid='define'
|
|
test -r ./broken-db.msg && . ./broken-db.msg
|
|
;;
|
|
#
|
|
@@ -81,12 +82,18 @@
|
|
d_setreuid='define'
|
|
d_setegid='undef'
|
|
d_seteuid='undef'
|
|
+ d_dosuid='define'
|
|
;;
|
|
#
|
|
# Guesses at what will be needed after 2.2
|
|
*) usevfork='true'
|
|
usemymalloc='n'
|
|
libswanted=`echo $libswanted | sed 's/ malloc / /'`
|
|
+ d_setregid='define'
|
|
+ d_setreuid='define'
|
|
+ d_setegid='undef'
|
|
+ d_seteuid='undef'
|
|
+ d_dosuid='define'
|
|
;;
|
|
esac
|
|
|
|
@@ -95,12 +102,20 @@
|
|
case "$osvers" in
|
|
0.*|1.0*) ;;
|
|
|
|
-3.0*) if [ -e /usr/lib/aout ]; then
|
|
- libpth="/usr/lib/aout /usr/local/lib /usr/lib"
|
|
- glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
|
|
- fi
|
|
- cccdlflags='-DPIC -fpic'
|
|
- lddlflags='-Bshareable'
|
|
+3.0*) objformat=`objformat`
|
|
+ if [ x$objformat = xelf ]; then
|
|
+ libpth="/usr/lib /usr/local/lib"
|
|
+ glibpth="/usr/lib /usr/local/lib"
|
|
+ ldflags="-Wl,-E "
|
|
+ lddlflags="-shared "
|
|
+ else
|
|
+ if [ -e /usr/lib/aout ]; then
|
|
+ libpth="/usr/lib/aout /usr/local/lib /usr/lib"
|
|
+ glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
|
|
+ fi
|
|
+ lddlflags='-Bshareable'
|
|
+ fi
|
|
+ cccdlflags='-DPIC -fpic'
|
|
;;
|
|
|
|
*) cccdlflags='-DPIC -fpic'
|