From 826748888291ee497f1003fd4ca078f99ef67a77 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 14 Feb 2011 18:26:25 +0000 Subject: [PATCH] lsof: fix compiling with librpc (based on a patch by tripolar), fixes #8854 git-svn-id: svn://svn.openwrt.org/openwrt/packages@25539 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/lsof/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/utils/lsof/Makefile b/utils/lsof/Makefile index 467b3f865..6035fa472 100644 --- a/utils/lsof/Makefile +++ b/utils/lsof/Makefile @@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=lsof PKG_VERSION:=4.81 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).dfsg.1.orig.tar.gz PKG_SOURCE_URL:=http://ftp2.de.debian.org/debian/pool/main/l/lsof @@ -20,9 +20,13 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).dfsg.1 include $(INCLUDE_DIR)/package.mk +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include +TARGET_LDFLAGS += $(LIBRPC) + define Package/lsof SECTION:=utils CATEGORY:=Utilities + DEPENDS:=+USE_UCLIBC:librpc TITLE:=LiSt Open Files - a diagnostic tool URL:=http://people.freebsd.org/~abe/ endef