diff options
Diffstat (limited to 'openwrt/package/ncurses/ncurses-5.2-5.diff')
-rw-r--r-- | openwrt/package/ncurses/ncurses-5.2-5.diff | 2 |
1 files changed, 1 insertions, 1 deletions
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 |