X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5bda08813bc391e4a429a5eefdc068f57b9c2545..b274709fb33f5268aa7821acbee788ade1c0176e:/package/ncurses/ncurses-5.2-5.diff diff --git a/package/ncurses/ncurses-5.2-5.diff b/package/ncurses/ncurses-5.2-5.diff index 8e1fba6c4..0140b951e 100644 --- a/package/ncurses/ncurses-5.2-5.diff +++ b/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