4f50274e38
The libtirpc host package is only for two headers that the host rpcgen utility from the nfs-utils package needs to build. glibc used to provide these headers. In version 2.26 glibc deprecated them with its bundled Sun RPC. Recently Fedora stopped enabling Sun RPC in glibc. So we can no longer rely on these headers being present on the host. Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
961 B
Makefile
29 lines
961 B
Makefile
################################################################################
|
|
#
|
|
# libtirpc
|
|
#
|
|
################################################################################
|
|
|
|
LIBTIRPC_VERSION = 1.0.2
|
|
LIBTIRPC_SOURCE = libtirpc-$(LIBTIRPC_VERSION).tar.bz2
|
|
LIBTIRPC_SITE = http://downloads.sourceforge.net/project/libtirpc/libtirpc/$(LIBTIRPC_VERSION)
|
|
LIBTIRPC_LICENSE = BSD-3-Clause
|
|
LIBTIRPC_LICENSE_FILES = COPYING
|
|
|
|
LIBTIRPC_INSTALL_STAGING = YES
|
|
LIBTIRPC_AUTORECONF = YES
|
|
|
|
# getrpcby{number,name} are only provided if 'GQ' is defined
|
|
LIBTIRPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DGQ"
|
|
|
|
LIBTIRPC_CONF_OPTS = --disable-gssapi
|
|
|
|
define HOST_LIBTIRPC_INSTALL_CMDS
|
|
$(INSTALL) -D -m 0644 $(@D)/tirpc/rpc/types.h $(HOST_DIR)/include/rpc/types.h
|
|
$(INSTALL) -D -m 0644 $(@D)/tirpc/netconfig.h $(HOST_DIR)/include/netconfig.h
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|
|
# We are only copying headers; no need for the autotools infrastructure
|
|
$(eval $(host-generic-package))
|