libtirpc: remove des_crypt from library

Commit

9bdcba10aa

includes des_crypt.c into the libtirpc libray. Unfortunately this
breaks linking of other applications against libtirpc with a

/usr/lib/libtirpc.so: undefined reference to `_des_crypt_call

error.
This commit is contained in:
Juergen Daubert 2011-05-18 09:50:48 +02:00
parent 9bde249784
commit 8beb1bf0be

View File

@ -4,11 +4,18 @@
name=libtirpc
version=0.2.2
release=1
release=2
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2)
build() {
cd $name-$version
# revert
# http://git.infradead.org/users/steved/libtirpc.git/patch/9bdcba10aa67ce3f67810c7aaac944a00dcfcee5
# because it breaks linking of other applications against libtirpc
sed -i 's/des_crypt\.c//' src/Makefile.am
automake
./configure --prefix=/usr --mandir=/usr/man
make
make DESTDIR=$PKG install