#!/bin/bash hvconfig_pre() { # Glibc-2.14 and later do not install NIS and RPC related headers by # default. If needed, install them here: if [ ! -r /usr/include/rpc/rpc.h ]; then decompress_package ${RPCNIS_HEADERS} /usr/include fi # Need autoreconf after applying patch cd /tmp/${PACKAGE} autoreconf } hvbuild_post() { mv -v /usr/lib/libtirpc.so.* /lib ln -sfv ../../lib/libtirpc.so.1.0.10 /usr/lib/libtirpc.so }