opt/libtirpc/Pkgfile
Juergen Daubert 8beb1bf0be 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.
2011-05-18 09:57:31 +02:00

23 lines
674 B
Plaintext

# Description: Transport Independent RPC library
# Maintainer: Juergen Daubert, jue at crux dot nu
# URL: http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php
name=libtirpc
version=0.2.2
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
}