[packages] Various Makefile cleanups.
[openwrt/svn-archive/archive.git] / devel / diffutils / Makefile
index 319e81c..c217c7c 100644 (file)
@@ -11,7 +11,7 @@ PKG_NAME:=diffutils
 PKG_VERSION:=2.8.1
 PKG_RELEASE:=1
 PKG_MD5SUM:=71f9c5ae19b60608f6c7f162da86a428
-PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/diffutils/
+PKG_SOURCE_URL:=@GNU/diffutils
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 
 include $(INCLUDE_DIR)/package.mk
@@ -28,6 +28,7 @@ define Package/diffutils/description
 endef
 
 define Build/Configure
+       $(CP) $(SCRIPT_DIR)/config.* $(PKG_BUILD_DIR)/config/
        $(call Build/Configure/Default,ac_cv_func_mempcpy=n)
 endef