freebsd-ports/x11/XFree86-aoutlibs/pkg-req
SADA Kenji b262f5384f Enable warning message with compat22 libs for package users.
Maintainer admitted this on ports-ML.
(message-id: <20000309102434.P54218@shale.csir.co.za>)

# Sorry Jeremy, the tree would be frozen soon.
2000-03-11 17:52:08 +00:00

22 lines
610 B
Bash

#!/bin/sh
env=/usr/bin/env
fgrep=/usr/bin/fgrep
ldconfig=/sbin/ldconfig
ld_so=/usr/libexec/ld.so
if [ x$2 = xINSTALL ]; then
$env OBJFORMAT=aout $ldconfig -r | $fgrep -q -e '-lc.3'
if [ $? -ne 0 -o ! -x $ld_so ]; then
cat <<END
*********************************************************************
There do not appear to be any a.out libraries on this
machine. Please install the compat22 distribution (via
/stand/sysinstall) or build it as part of your 'make world'
(see /etc/make.conf).
*********************************************************************
END
exit 1
fi
fi
exit 0;