Natpmp defaults to expecting iptables to be in /sbin; this patch points it to
/usr/sbin.
Signed-off-by: Conrad Hirano <[EMAIL PROTECTED]>
Index: packages/net/natpmp/Makefile
===================================================================
--- packages/net/natpmp/Makefile (revision 11752)
+++ packages/net/natpmp/Makefile (working copy)
@@ -33,7 +33,7 @@
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
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel