summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-12-19 22:25:56 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-19 22:25:56 -0600
commita3c41cc16f3149ddcf88a0c679288e726ef690a6 (patch)
treead33876ebef64b26fb847acc9e632c69bd5945d1 /network
parent77d6a0918e3abbc1d6389ff247116da0ddc27345 (diff)
downloadslackbuilds-a3c41cc16f3149ddcf88a0c679288e726ef690a6.tar.gz
network/krb5: Include /usr/kerberos/lib in /etc/ld.so.conf
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/krb5/doinst.sh4
-rw-r--r--network/krb5/krb5.SlackBuild3
2 files changed, 6 insertions, 1 deletions
diff --git a/network/krb5/doinst.sh b/network/krb5/doinst.sh
new file mode 100644
index 0000000000..56812592ca
--- /dev/null
+++ b/network/krb5/doinst.sh
@@ -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
diff --git a/network/krb5/krb5.SlackBuild b/network/krb5/krb5.SlackBuild
index e6238b3ae6..db0ce23bba 100644
--- a/network/krb5/krb5.SlackBuild
+++ b/network/krb5/krb5.SlackBuild
@@ -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}