network/krb5: Include /usr/kerberos/lib in /etc/ld.so.conf

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2011-12-19 22:25:56 -06:00
parent 77d6a0918e
commit a3c41cc16f
2 changed files with 6 additions and 1 deletions

4
network/krb5/doinst.sh Normal file
View File

@ -0,0 +1,4 @@
# Add kerberos libs to the library search path
if ! grep -q '^/usr/kerberos/lib$' etc/ld.so.conf ; then
echo "/usr/kerberos/lib" >> etc/ld.so.conf
fi

View File

@ -32,7 +32,7 @@
PRGNAM=krb5
VERSION=${VERSION:-1.7.1}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@ -113,6 +113,7 @@ find $PKG/usr/doc -type f -exec chmod 0644 {} \;
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}