31b7e36418
rpcbind depends on libtirpc, which used to depend on
host-pkgconf. However, since commit
aee57627b0
, the dependency of libtirpc
on host-pkgconf has been removed, because libtirpc no longer uses
PKG_CHECK_MODULES().
However, rpcbind does use PKG_CHECK_MODULES(). It used to work because
host-pkgconf was brought into the build by the dependency on libtirpc,
but that's no longer the case. Bottom line: we need to make rpcbind
depend on host-pkgconf, which is exactly what this commit does.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
734 B
Makefile
24 lines
734 B
Makefile
################################################################################
|
|
#
|
|
# rpcbind
|
|
#
|
|
################################################################################
|
|
|
|
RPCBIND_VERSION = 0.2.1
|
|
RPCBIND_SITE = http://downloads.sourceforge.net/project/rpcbind/rpcbind/$(RPCBIND_VERSION)
|
|
RPCBIND_SOURCE = rpcbind-$(RPCBIND_VERSION).tar.bz2
|
|
RPCBIND_LICENSE = BSD-3c
|
|
RPCBIND_LICENSE_FILES = COPYING
|
|
|
|
RPCBIND_CONF_ENV += \
|
|
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/tirpc/"
|
|
RPCBIND_DEPENDENCIES += libtirpc host-pkgconf
|
|
RPCBIND_CONF_OPTS += --with-rpcuser=root
|
|
|
|
define RPCBIND_INSTALL_INIT_SYSV
|
|
$(INSTALL) -m 0755 -D package/rpcbind/S30rpcbind \
|
|
$(TARGET_DIR)/etc/init.d/S30rpcbind
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|