[tools] override sed configuration to work with FreeBSD (#4531)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 26 Jul 2009 18:09:20 +0000 (18:09 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 26 Jul 2009 18:09:20 +0000 (18:09 +0000)
SVN-Revision: 17022

tools/sed/Makefile

index f15299c..423e298 100644 (file)
@@ -17,6 +17,14 @@ export SED:=
 
 include $(INCLUDE_DIR)/host-build.mk
 
+define Build/Configure
+       ( cd $(PKG_BUILD_DIR); \
+               ./configure \
+               --prefix=$(STAGING_DIR_HOST) \
+               --infodir=/usr/info \
+       )
+endef
+
 define Host/Compile
        $(MAKE) -C $(HOST_BUILD_DIR) SHELL="$(BASH)"
 endef