X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/15ea846c55e4a60051bce94d1b7d246f6043cc03..d28c60f866cfe27b431263f6ed4564b6e37882b3:/openwrt/package/popt/popt-1.7-3.diff 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