mc: switch to libtirpc
authorAndy Walsh <andy.walsh44+github@gmail.com>
Sun, 12 Aug 2018 19:00:25 +0000 (21:00 +0200)
committertripolar <tripolar@users.noreply.github.com>
Sun, 12 Aug 2018 22:58:48 +0000 (00:58 +0200)
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
utils/mc/Makefile

index 1277ab15c2b235b9b941293ccdf01e21f1282dbf..ab3ae2b6813fa3a8bcb0fae8f91a20fe8df9807a 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mc
 PKG_VERSION:=4.8.21
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 PKG_LICENSE:=GPL-3.0+
 
@@ -16,6 +16,7 @@ PKG_SOURCE_URL:=http://ftp.midnight-commander.org/
 PKG_HASH:=8f37e546ac7c31c9c203a03b1c1d6cb2d2f623a300b86badfd367e5559fe148c
 PKG_BUILD_PARALLEL:=1
 PKG_FIXUP:=autoreconf gettext-version
+PKG_BUILD_DEPENDS:=MC_VFS:libtirpc
 
 PKG_CONFIG_DEPENDS := \
        CONFIG_PACKAGE_MC \
@@ -33,7 +34,7 @@ include $(INCLUDE_DIR)/nls.mk
 define Package/mc
        SECTION:=utils
        CATEGORY:=Utilities
-       DEPENDS:=+glib2 +libncurses +libmount +MC_VFS:libssh2 $(LIBRPC_DEPENDS) $(ICONV_DEPENDS)
+       DEPENDS:=+glib2 +libncurses +libmount +MC_VFS:libssh2 $(ICONV_DEPENDS)
        TITLE:=Midnight Commander - a powerful visual file manager
        URL:=https://www.midnight-commander.org/
        MENU:=1
@@ -89,6 +90,8 @@ endif
 
 ifeq ($(CONFIG_MC_VFS),)
 CONFIGURE_ARGS += --disable-vfs
+else
+TARGET_CPPFLAGS += -I$(STAGING_DIR)/usr/include/tirpc
 endif
 
 define Package/mc/install