From 8ae25c093c02dfb77b52e2ec5412e7def42d2e4c Mon Sep 17 00:00:00 2001 From: mbm Date: Tue, 8 Mar 2005 09:46:40 +0000 Subject: Change TARGET_ARCH to ARCH in a number of nico's packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@356 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/popt/popt-1.7-3.diff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openwrt/package/popt') diff --git a/openwrt/package/popt/popt-1.7-3.diff b/openwrt/package/popt/popt-1.7-3.diff index 4aa9b8ef82..616be97d37 100644 --- a/openwrt/package/popt/popt-1.7-3.diff +++ b/openwrt/package/popt/popt-1.7-3.diff @@ -123,7 +123,7 @@ diff -ruN popt-1.7-orig/ipkg/rules popt-1.7-3/ipkg/rules + chmod 0755 ipkg/*/CONTROL/ + chmod 0644 ipkg/*/CONTROL/control + -+ perl -pi -e "s/^Arch.*:.*/Architecture: $(TARGET_ARCH)/g" ipkg/*/CONTROL/control ++ perl -pi -e "s/^Arch.*:.*/Architecture: $(ARCH)/g" ipkg/*/CONTROL/control +ifneq ($(strip $(PKG_VERSION)),) + perl -pi -e "s/^Vers.*:.*/Version: $(PKG_VERSION)/g" ipkg/*/CONTROL/control +endif -- cgit v1.2.3