From a5a53412f45e126d85d4a18ad25ed5e8f2faed3c Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 4 May 2009 20:19:12 +0000 Subject: [PATCH] [package] fix miniupnpd compilation with iptables-1.4.3.2 (#5047) SVN-Revision: 15603 --- net/miniupnpd/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/miniupnpd/Makefile b/net/miniupnpd/Makefile index e9073b639a..a479b78b0d 100644 --- a/net/miniupnpd/Makefile +++ b/net/miniupnpd/Makefile @@ -6,10 +6,11 @@ # include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=miniupnpd PKG_VERSION:=1.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MD5SUM:=b5e70e80dcf45b424b8fe3c966bdc613 PKG_SOURCE_URL:=http://miniupnp.free.fr/files @@ -30,7 +31,7 @@ define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.openwrt \ $(TARGET_CONFIGURE_OPTS) \ STAGING_DIR="$(STAGING_DIR)" \ - CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include -DIPTABLES_143" \ + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -I$(KERNEL_BUILD_DIR)/iptables-1.4.3.2/include -DIPTABLES_143" \ LIBS="$(STAGING_DIR)/usr/lib/libiptc.so" endef -- 2.30.2