aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/krb5/doinst.sh4
-rw-r--r--network/krb5/krb5.SlackBuild9
2 files changed, 4 insertions, 9 deletions
diff --git a/network/krb5/doinst.sh b/network/krb5/doinst.sh
deleted file mode 100644
index 56812592ca05e..0000000000000
--- a/network/krb5/doinst.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-# 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 88101ed9d1393..f5cd3800f4742 100644
--- a/network/krb5/krb5.SlackBuild
+++ b/network/krb5/krb5.SlackBuild
@@ -67,10 +67,10 @@ cd $PRGNAM-$VERSION/src
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr/ \
+ --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/kerberos/man \
+ --mandir=/usr/man \
--enable-dns-for-realm \
--with-ldap \
--build=$ARCH-slackware-linux
@@ -86,8 +86,8 @@ chmod 0755 $PKG/etc/profile.d/*
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/kerberos/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/kerberos/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $CWD/README $CWD/README.krb5 $CWD/EXPORT $PKG/usr/doc/$PRGNAM-$VERSION
@@ -97,7 +97,6 @@ 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}