mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
Still wasn't working exactly write on FreeBSD3. Need to
check for $OBJFORMAT and if not available set to output of /usr/bin/objformat (if available). Otherwise assume not elf.
This commit is contained in:
parent
2ffb9ae30d
commit
77cb308d5a
2 changed files with 12 additions and 4 deletions
|
|
@ -1134,7 +1134,8 @@ freebsd3*)
|
|||
version_type=freebsd
|
||||
library_names_spec='${libname}${release}.so.$versuffix $libname.so'
|
||||
if [ -x `/usr/bin/objformat` ]; then
|
||||
finish_cmds='PATH="$PATH:/sbin" OBJFORMAT=`objformat` ldconfig -m $libdir'
|
||||
OBJFORMAT=`/usr/bin/objformat`
|
||||
finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$OBJFORMAT" ldconfig -m $libdir'
|
||||
else
|
||||
finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -970,10 +970,17 @@ if test -z "$show_help"; then
|
|||
freebsd)
|
||||
version_vars="$version_vars major versuffix"
|
||||
major="$current"
|
||||
if [ $PORTOBJFORMAT = elf ]; then
|
||||
versuffix="$current";
|
||||
|
||||
if [ X"$OBJFORMAT" = X ]; then
|
||||
if [ -x /usr/bin/objformat ]; then
|
||||
OBJECTFORMAT=`objformat`
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$OBJFORMAT" = elf ]; then
|
||||
versuffix="$current";
|
||||
else
|
||||
versuffix="$current.$revision";
|
||||
versuffix="$current.$revision";
|
||||
fi
|
||||
;;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue