diff options
Diffstat (limited to 'network/krb5')
-rw-r--r-- | network/krb5/doinst.sh | 4 | ||||
-rw-r--r-- | network/krb5/krb5.SlackBuild | 3 |
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} |