Change TARGET_ARCH to ARCH in a number of nico's packages
authorMike Baker <mbm@openwrt.org>
Tue, 8 Mar 2005 09:46:40 +0000 (09:46 +0000)
committerMike Baker <mbm@openwrt.org>
Tue, 8 Mar 2005 09:46:40 +0000 (09:46 +0000)
SVN-Revision: 356

openwrt/package/haserl/haserl-0.7.3-3.diff
openwrt/package/ncurses/ncurses-5.2-5.diff
openwrt/package/pcre/pcre-5.0-3.diff
openwrt/package/popt/popt-1.7-3.diff

index 55b6b3d8031bb1fe4192744e440c2725383fade0..b56d3c33263177d46bb5c274c35203104ffe9400 100644 (file)
@@ -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
index 8e1fba6c436da57a7cae0020b7260e068a9310e3..0140b951e4f1b7e33d44358168da0e05718c1dca 100644 (file)
@@ -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
index e5239d403553f4fb534d53bb6f98f20c28e24ddb..4d71ff77c809e1723c9082d6950c23160f05139d 100644 (file)
@@ -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
index 4aa9b8ef82f2c9ef73b51d652b7b590809785a7e..616be97d376a87a13bc580d3584ca91662b9e816 100644 (file)
@@ -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