From 5a199e62f4e4d45f975f536c9cdea701fbbcd8fd Mon Sep 17 00:00:00 2001 From: Andy Boyett Date: Thu, 9 Oct 2008 19:48:27 +0000 Subject: [PATCH] Natpmp defaults to expecting iptables to be in /sbin; this patch points it to /usr/sbin. Signed-off-by: Conrad Hirano SVN-Revision: 12937 --- net/natpmp/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/natpmp/Makefile b/net/natpmp/Makefile index 6f851a33f..e355447f6 100644 --- a/net/natpmp/Makefile +++ b/net/natpmp/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=natpmp PKG_VERSION:=0.2.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_URL:=http://download.savannah.nongnu.org/releases/natpmp/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -33,7 +33,7 @@ define Build/Compile CC="$(TARGET_CC)" \ LD="$(TARGET_CC)" \ CCFLAGS="$(strip $(TARGET_CFLAGS))" \ - CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include" \ + CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include" -DIPTABLES_PATH=\\\"/usr/sbin\\\"" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \ prefix="$(PKG_INSTALL_DIR)/usr" endef -- 2.30.2