snort: switch to libtirpc
authorAndy Walsh <andy.walsh44+github@gmail.com>
Sun, 12 Aug 2018 18:58:09 +0000 (20:58 +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>
net/snort/Makefile

index a2835b250f5b7832f0f69ac355f2b5bd4f9d95ec..7d26cf616259fce1c4775a809d6cf7fefc8baac0 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=snort
 PKG_VERSION:=2.9.11.1
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_LICENSE:=GPL-2.0
 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
@@ -19,7 +19,7 @@ PKG_SOURCE_URL:=https://www.snort.org/downloads/snort/ \
        @SF/$(PKG_NAME)
 PKG_HASH:=9f6b3aeac5a109f55504bd370564ac431cb1773507929dc461626898f33f46cd
 
-PKG_BUILD_DEPENDS:=librpc
+PKG_BUILD_DEPENDS:=libtirpc
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION)
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
@@ -71,6 +71,8 @@ CONFIGURE_VARS += \
 
 MAKE_FLAGS += \
        extra_incl=""
+       
+TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/tirpc
 
 define Build/InstallDev
        $(INSTALL_DIR) $(STAGING_DIR)/usr/include/snort/dynamic_preproc