fix procmail compile, thx Michael
[openwrt/svn-archive/archive.git] / openwrt / package / procmail / Makefile
index ce7909cb39bae07658c987c4e3fe6398c711b1a3..ace0a0bf7b33d9db926f5222ab0c5b5089252dee 100644 (file)
@@ -18,11 +18,9 @@ include $(TOPDIR)/package/rules.mk
 $(eval $(call PKG_template,PROCMAIL,procmail,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
 $(PKG_BUILD_DIR)/.built:
 $(eval $(call PKG_template,PROCMAIL,procmail,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
 $(PKG_BUILD_DIR)/.built:
-       $(MAKE) -C $(PKG_BUILD_DIR)/ init \
+       $(MAKE) -C $(PKG_BUILD_DIR)/src -f ../Makefile.openwrt  \
                CC=$(TARGET_CC)
 
                CC=$(TARGET_CC)
 
-       echo yes | $(MAKE) -C $(PKG_BUILD_DIR)/src/ procmail formail \
-               CC=$(TARGET_CC)
        touch $@
 
 $(IPKG_PROCMAIL): 
        touch $@
 
 $(IPKG_PROCMAIL):