From fc7cda6a72ae3afd700d062ce1edbc8a984b880d Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Tue, 8 Mar 2005 09:46:40 +0000 Subject: [PATCH] Change TARGET_ARCH to ARCH in a number of nico's packages SVN-Revision: 356 --- openwrt/package/haserl/haserl-0.7.3-3.diff | 2 +- openwrt/package/ncurses/ncurses-5.2-5.diff | 2 +- openwrt/package/pcre/pcre-5.0-3.diff | 2 +- openwrt/package/popt/popt-1.7-3.diff | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openwrt/package/haserl/haserl-0.7.3-3.diff b/openwrt/package/haserl/haserl-0.7.3-3.diff index 55b6b3d803..b56d3c3326 100644 --- a/openwrt/package/haserl/haserl-0.7.3-3.diff +++ b/openwrt/package/haserl/haserl-0.7.3-3.diff @@ -101,7 +101,7 @@ diff -ruN haserl-0.7.3-orig/ipkg/rules haserl-0.7.3-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 diff --git a/openwrt/package/ncurses/ncurses-5.2-5.diff b/openwrt/package/ncurses/ncurses-5.2-5.diff index 8e1fba6c43..0140b951e4 100644 --- a/openwrt/package/ncurses/ncurses-5.2-5.diff +++ b/openwrt/package/ncurses/ncurses-5.2-5.diff @@ -161,7 +161,7 @@ diff -ruN ncurses-5.2-orig/ipkg/rules ncurses-5.2-5/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 diff --git a/openwrt/package/pcre/pcre-5.0-3.diff b/openwrt/package/pcre/pcre-5.0-3.diff index e5239d4035..4d71ff77c8 100644 --- a/openwrt/package/pcre/pcre-5.0-3.diff +++ b/openwrt/package/pcre/pcre-5.0-3.diff @@ -129,7 +129,7 @@ diff -ruN pcre-5.0-orig/ipkg/rules pcre-5.0-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 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 -- 2.30.2