X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/0cf11ccf93fd81e9a98571a154b9afce9034e502..d28c60f866cfe27b431263f6ed4564b6e37882b3:/openwrt/package/ncurses/ncurses-5.2-5.diff?ds=sidebyside diff --git a/openwrt/package/ncurses/ncurses-5.2-5.diff b/openwrt/package/ncurses/ncurses-5.2-5.diff index 8e1fba6c4..0140b951e 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