diff options
Diffstat (limited to 'openwrt/package/popt')
-rw-r--r-- | openwrt/package/popt/popt-1.7-3.diff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/popt/popt-1.7-3.diff b/openwrt/package/popt/popt-1.7-3.diff index 4aa9b8ef8..616be97d3 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 |