srelay: force libwrap use (closes: #6739), bump release number
authorNicolas Thill <nico@openwrt.org>
Mon, 8 Mar 2010 14:00:14 +0000 (14:00 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 8 Mar 2010 14:00:14 +0000 (14:00 +0000)
SVN-Revision: 20056

net/srelay/Makefile

index 5b6d41cb624163f72951bea25f5fadd580cb88ee..5f41e7d00c15cb1488ce8578e926ae8b3935822b 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=srelay
 PKG_VERSION:=0.4.6
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/socks-relay
@@ -31,9 +31,10 @@ endef
 
 CONFIGURE_ARGS += \
        --disable-thread \
+       --with-libwrap="$(STAGING_DIR)/usr" \
 
 CONFIGURE_VARS += \
-       CPPFLAGS="-DLINUX" \
+       CPPFLAGS="-DLINUX $$$$CPPFLAGS" \
 
 define Package/srelay/install  
        $(INSTALL_DIR) $(1)/usr/bin